Created
July 22, 2013 17:24
-
-
Save dky/6055764 to your computer and use it in GitHub Desktop.
Basic kickstart template
This file contains hidden or 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
text | |
install | |
url --url=http://mirror.centos.org/centos/6/os/i386/ | |
lang en_US.UTF-8 | |
keyboard us | |
network --device eth0 --bootproto dhcp | |
rootpw --iscrypted $6$VFjT1z9ta1HqsMbF$QUxiFloguJcgvvLvkT8l4eSM8YPs.qSHwpAQfFa/2tp8FY/HtiSP/Lr.8bGhjCMqUQzM4wUm3wpBhQmmGN02W0 | |
firewall --service=ssh | |
authconfig --enableshadow --passalgo=sha512 --enablefingerprint | |
selinux --disabled | |
timezone --utc America/New_York | |
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet" | |
zerombr yes | |
clearpart --all | |
part /boot --fstype ext4 --size=200 | |
part pv.2 --size=1 --grow | |
volgroup vg_root --pesize=32768 pv.2 | |
logvol swap --fstype swap --vgname=vg_root --size=512 --name=lv_swap | |
logvol / --fstype ext4 --vgname=vg_root --size=1024 --name=lv_root --grow | |
reboot | |
%packages --nobase | |
authconfig | |
crontabs | |
kbd | |
openssh-clients | |
openssh-server | |
passwd | |
rootfiles | |
rpm | |
yum | |
vim-minimal | |
vixie-cron | |
which | |
sudo | |
%post | |
( | |
#let's patch the box | |
yum -y update | |
) 2>&1 | tee /root/post-install.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment