-
Notifications
You must be signed in to change notification settings - Fork 11
/
ks-example.cfg
57 lines (54 loc) · 1.33 KB
/
ks-example.cfg
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
#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone America/New_York
#Root password
rootpw --disabled
#Initial user
user xxxusernamexxx --fullname "xxxusernamexxx" --iscrypted --password xxxpasswordxxx
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext4 --size 1 --grow
part swap --size 5000
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
#Package install information
%packages
nano
openssh-server
python-glade2
libauthen-sasl-perl
git
#The Commands below this must be added to the ks.cfg to transfer Program install scripts
%post
cp -p -R /media/cdrom/myapps/* /opt/
cp /opt/install/System/Installserver.service /etc/systemd/system/
chmod 644 /etc/systemd/system/Installserver.service
systemctl enable Installserver.service