1 |
unnilennium |
1.1 |
# System authorization information |
2 |
|
|
auth --enableshadow --passalgo=sha512 |
3 |
|
|
# Use CDROM installation media |
4 |
|
|
cdrom |
5 |
|
|
# Use graphical install |
6 |
|
|
#graphical |
7 |
|
|
#%include /usr/share/anaconda/interactive-defaults.ks |
8 |
|
|
#install |
9 |
|
|
ignoredisk --only-use=vda |
10 |
|
|
# Keyboard layouts |
11 |
|
|
keyboard --xlayouts='us' |
12 |
|
|
# System language |
13 |
|
|
lang en_US.UTF-8 |
14 |
|
|
selinux --disabled |
15 |
|
|
#reboot |
16 |
|
|
|
17 |
|
|
|
18 |
|
|
# System timezone |
19 |
|
|
timezone America/New_York --isUtc |
20 |
unnilennium |
1.2 |
|
21 |
|
|
|
22 |
unnilennium |
1.1 |
# System bootloader configuration |
23 |
|
|
bootloader --append=" crashkernel=auto quiet" --location=mbr --boot-drive=vda |
24 |
unnilennium |
1.2 |
#Clear the Master Boot Record |
25 |
|
|
#zerombr yes |
26 |
|
|
zerombr |
27 |
|
|
|
28 |
|
|
# Partition clearing information |
29 |
|
|
#clearpart --all --initlabel --drives=vda |
30 |
unnilennium |
1.1 |
|
31 |
unnilennium |
1.2 |
# autopartionning |
32 |
unnilennium |
1.1 |
autopart --type=lvm |
33 |
|
|
|
34 |
unnilennium |
1.2 |
## 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 |
unnilennium |
1.1 |
|
51 |
|
|
|
52 |
unnilennium |
1.2 |
# services to activate |
53 |
unnilennium |
1.1 |
services --disabled=lm_sensors |
54 |
unnilennium |
1.2 |
# packages to install |
55 |
unnilennium |
1.1 |
%packages |
56 |
|
|
@^minimal |
57 |
|
|
@base |
58 |
|
|
@core |
59 |
|
|
-chrony |
60 |
|
|
-kexec-tools |
61 |
|
|
|
62 |
|
|
%end |
63 |
|
|
|
64 |
|
|
|
65 |
|
|
# pre script could be inserted there to handle partitionning |
66 |
|
|
|
67 |
unnilennium |
1.2 |
%post --interpreter=/usr/bin/bash |
68 |
unnilennium |
1.1 |
# before reboot performing post-install |
69 |
|
|
# this is for first alpha iso. we should put this in anaconda |
70 |
|
|
# and / or handle possible upgrade later |
71 |
|
|
/sbin/rsyslogd; |
72 |
|
|
sleep 2; |
73 |
|
|
/sbin/e-smith/signal-event post-install; |
74 |
unnilennium |
1.2 |
sleep 2; |
75 |
|
|
/sbin/e-smith/db configuration set UnsavedChanges no; |
76 |
unnilennium |
1.1 |
touch /forcequotacheck |
77 |
|
|
|
78 |
|
|
%end |