Created
February 3, 2013 21:58
-
-
Save arbeitandy/4703850 to your computer and use it in GitHub Desktop.
sample kickstart config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version=DEVEL | |
install | |
url --url=http://202.141.160.110/centos/6/os/x86_64/ | |
lang en_US.UTF-8 | |
keyboard us | |
network --onboot yes --device eth0 --bootproto static --ip ###PLEASEUPDATETOLOCALIP### --netmask 255.255.255.255 --gateway ###PLEASEUPDATETOLOCALGATEWAY### --noipv6 --nameserver 8.8.8.8 --hostname sample-temp.local | |
rootpw --iscrypted #####PLEASEUPDATE##### | |
firewall --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --disabled | |
skipx | |
timezone --utc Asia/Hong_Kong | |
bootloader --location=mbr --driveorder=vda --append=" crashkernel=auto console=ttyS0,115200" | |
clearpart --all --drives=vda | |
part /boot --fstype=ext4 --size=500 | |
part / --fstype=ext4 --size=3000 | |
repo --name="CentOS" --baseurl=http://202.141.160.110/centos/6/os/x86_64/ --cost=100 | |
%packages --nobase | |
@core | |
%post | |
/usr/bin/yum -y update >> /root/post_install.log 2>&1 | |
/sbin/chkconfig --del bluetooth | |
/sbin/chkconfig --del cups | |
echo "nameserver 8.8.8.8" >> /etc/resolv.conf | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment