summaryrefslogtreecommitdiff
path: root/kickstart.tmpl
blob: 4c8ad583b2409ded6dc57fbccb0ad9faf871010c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# ##############################################
# Do not Edit! Generated by:
# kickstarter.py
# ###############################################

lang ${metadata.Language}
keyboard ${metadata.Keyboard}
timezone --utc ${metadata.Timezone}
#if $metadata.Part == ""
part / --size ${metadata.PartSize} --ondisk sda --fstype=ext3
#else
${metadata.Part}
#end if
rootpw ${metadata.RootPass} 
xconfig --startxonboot
bootloader --timeout=${metadata.BootloaderTimeout} --append="${metadata.BootloaderAppend}"
#if $metadata.has_key("Desktop")
desktop --autologinuser=${metadata.DefaultUser}  --defaultdesktop=${metadata.Desktop} 
#end if
user --name ${metadata.DefaultUser}  --groups audio,video --password ${metadata.DefaultUserPass} 

#set $save = ""
#if $metadata.SaveRepos
#set $save = "--save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego"
#end if
#for $r in $metadata.Repos
#for $rr in $repos
#if $rr.Name == $r
repo   --name=${r} --baseurl=${rr.Url} ${save}
#end if
#end for
#end for


#if $metadata.PackageArgs != ""
%packages ${metadata.PackageArgs}
#else
%packages
#end if

#for $g in $metadata.Groups
@${g}
#end for


$metadata.Kernel

#for $e in $metadata.ExtraPackages
${e}
#end for
#for $e in $metadata.RemovePackages
-${e}
#end for
%end

%post
${metadata.Post}
%end

%post --nochroot
${metadata.NoChroot}
%end