-
Notifications
You must be signed in to change notification settings - Fork 70
/
centos6-nocps-standard.cfg
85 lines (73 loc) · 2.08 KB
/
centos6-nocps-standard.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
80
81
82
83
84
85
#
# Kickstart script generated by our commercial server provisioning software ( http://www.noc-ps.com )
# This script is known to work with the Scientific Linux 6 alpha.
#
# Settings used:
#
# Disk layout: default
# Packages: NOC-PS default (installs local resolving nameserver + SSH)
# IP/Netmask/Gateway: 10.0.0.100 / 255.255.255.0 / 10.0.0.1
# Root password: centostest
# Regular user name: charlie
# Regular user password: centostest
#
#
# If you change the network settings: please leave the nameserver at 127.0.0.1
# and specify installation source by IP instead of hostname.
#
# After installation BIND is used as local resolving nameserver, so no dependencies
# exists on other systems
#
#System language
lang en_US
#Language modules to install
#langsupport en_US
#System keyboard
keyboard us
#System mouse
#mouse none
#System timezone
timezone Europe/Amsterdam
#Root password
rootpw --iscrypted "$1$g0LgrMHV$qXwnCy387PxR/Nmcote2V/"
user --name "charlie" --iscrypted --password "$1$vzpx0Hn5$EH5Xfax2MVzxw26xyQmS0."
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
#url --url http://131.225.110.41/linux/scientific/6rolling/x86_64/os/
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
#zerombr yes
zerombr
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext2 --size 250
part pv.01 --size 1 --grow
volgroup vg pv.01
logvol / --vgname=vg --size=1 --grow --fstype ext4 --name=root
logvol /tmp --vgname=vg --size=1024 --fstype ext4 --name=tmp
logvol swap --vgname=vg --recommended --name=swap
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=static --ip=10.0.0.100 --netmask=255.255.255.0 --gateway=10.0.0.1 --nameserver=127.0.0.1 --device=eth0 --hostname=centos6test.noc-ps.com
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
#%packages --resolvedeps
%packages
openssh-server
caching-nameserver
%end
%pre
%end
%post
chkconfig named on
%end