-
Notifications
You must be signed in to change notification settings - Fork 0
/
centos6ks.cfg
79 lines (75 loc) · 1.92 KB
/
centos6ks.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Kickstart for CentOS 6
install
url --url http://mirror.facebook.net/centos/6/os/x86_64/
lang en_US.UTF-8
keyboard us
# Will do DHCP unless some of this other stuff is uncommented.
# asknetwork
# network --onboot=yes --device=eth0 --bootproto=dhcp --noipv6 --hostname=server.example.com
rootpw --iscrypted $6$pqUjuf9t$TiPr9vgHzREBrhh3DpMou5ka6potpbO0/CIXEwl0UG9fCz0jhRZyLnBtYR0PhwEJBWEnOdFO1Q5pg5NdgOtha/
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc America/Los_Angeles
# Disk Stuff
bootloader --location=mbr --driveorder=sda
ignoredisk --only-use=sda
clearpart --all
zerombr
part pv.01 --grow --size=1
part /boot --fstype=ext4 --asprimary --size=1000
part swap --fstype=swap --recommended
volgroup VG00 pv.01
logvol / --fstype=ext4 --name=root --vgname=VG00 --size=15000
logvol /var --fstype=ext4 --name=var --vgname=VG00 --size=5000
logvol /var/log --fstype=ext4 --name=log --vgname=VG00 --size=5000
logvol /home --fstype=ext4 --name=home --vgname=VG00 --size=5000
logvol /opt --fstype=ext4 --name=opt --vgname=VG00 --size=5000
###
text
reboot
%packages --nobase
@core
-aic94xx-firmware
-atmel-firmware
-bfa-firmware
-ipw2100-firmware
-ipw2200-firmware
-ivtv-firmware
-iwl1000-firmware
-iwl100-firmware
-iwl105-firmware
-iwl135-firmware
-iwl2000-firmware
-iwl2030-firmware
-iwl3160-firmware
-iwl3945-firmware
-iwl4965-firmware
-iwl5000-firmware
-iwl5150-firmware
-iwl6000-firmware
-iwl6000g2a-firmware
-iwl6000g2b-firmware
-iwl6050-firmware
-iwl7260-firmware
-iwl7265-firmware
-kernel-firmware
-libertas-usb8388-firmware
-ql2100-firmware
-ql2200-firmware
-ql23xx-firmware
-ql2400-firmware
-ql2500-firmware
-rt61pci-firmware
-rt73usb-firmware
-xorg-x11-drv-ati-firmware
-zd1211-firmware
man
redhat-lsb-core
vim-enhanced
%end
%post
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -ivh https://centos6.iuscommunity.org/ius-release.rpm
yum -y install open-vm-tools
%end