12 |
# System language |
# System language |
13 |
lang en_US.UTF-8 |
lang en_US.UTF-8 |
14 |
selinux --disabled |
selinux --disabled |
|
#firewall --disabled |
|
|
#services --enabled=NetworkManager,sshd |
|
|
#eula --agreed |
|
15 |
#reboot |
#reboot |
16 |
|
|
17 |
|
|
18 |
# System timezone |
# System timezone |
19 |
timezone America/New_York --isUtc |
timezone America/New_York --isUtc |
20 |
|
|
21 |
|
|
22 |
# System bootloader configuration |
# System bootloader configuration |
23 |
bootloader --append=" crashkernel=auto quiet" --location=mbr --boot-drive=vda |
bootloader --append=" crashkernel=auto quiet" --location=mbr --boot-drive=vda |
24 |
|
#Clear the Master Boot Record |
25 |
|
#zerombr yes |
26 |
|
zerombr |
27 |
|
|
|
autopart --type=lvm |
|
28 |
# Partition clearing information |
# Partition clearing information |
29 |
clearpart --all --initlabel --drives=vda |
#clearpart --all --initlabel --drives=vda |
30 |
|
|
31 |
|
# autopartionning |
32 |
|
autopart --type=lvm |
33 |
|
|
34 |
|
## Disks for 500 MB boot partition |
35 |
|
#part raid.01 --size=500 --asprimary --ondisk=vda |
36 |
|
#part raid.02 --size=500 --asprimary --ondisk=vdb |
37 |
|
|
38 |
|
## Disks for LVM partition |
39 |
|
#part raid.11 --size=1 --grow --ondisk=vda |
40 |
|
#part raid.12 --size=1 --grow --ondisk=vdb |
41 |
|
|
42 |
|
## RAID settings |
43 |
|
#raid /boot --fstype ext2 --device md0 --level=RAID1 raid.01 raid.02 |
44 |
|
#raid pv.01 --device md1 --level=RAID1 raid.11 raid.12 |
45 |
|
|
46 |
|
# LVM configuration |
47 |
|
#volgroup vg pv.01 |
48 |
|
#logvol / --vgname=vg --size=1 --grow --fstype ext3 --name=root |
49 |
|
#logvol swap --vgname=vg --recommended --name=swap |
50 |
|
|
|
bootloader --location=mbr |
|
|
zerombr |
|
|
#part swap --asprimary --fstype="swap" --size=1024 |
|
|
#part /boot --fstype xfs --size=200 |
|
|
#part pv.01 --size=1 --grow |
|
|
#volgroup rootvg01 pv.01 |
|
|
#logvol / --fstype xfs --name=lv01 --vgname=rootvg01 --size=1 --grow |
|
51 |
|
|
52 |
|
# services to activate |
53 |
services --disabled=lm_sensors |
services --disabled=lm_sensors |
54 |
|
# packages to install |
55 |
%packages |
%packages |
56 |
@^minimal |
@^minimal |
57 |
@base |
@base |
64 |
|
|
65 |
# pre script could be inserted there to handle partitionning |
# pre script could be inserted there to handle partitionning |
66 |
|
|
67 |
%post --log=/root/ks-post.log --interpreter=/usr/bin/bash |
%post --interpreter=/usr/bin/bash |
68 |
# before reboot performing post-install |
# before reboot performing post-install |
69 |
# this is for first alpha iso. we should put this in anaconda |
# this is for first alpha iso. we should put this in anaconda |
70 |
# and / or handle possible upgrade later |
# and / or handle possible upgrade later |
71 |
/sbin/rsyslogd; |
/sbin/rsyslogd; |
72 |
sleep 2; |
sleep 2; |
73 |
/sbin/e-smith/signal-event post-install; |
/sbin/e-smith/signal-event post-install; |
74 |
|
sleep 2; |
75 |
|
/sbin/e-smith/db configuration set UnsavedChanges no; |
76 |
touch /forcequotacheck |
touch /forcequotacheck |
77 |
|
|
78 |
%end |
%end |