# This kickstart file is missing a few things that need to be passed to the # kernel. # # method=http://path/to/your/dist/ # ip= # netmask= # gw= # dns= # ** IP info can be ignored if using DHCP install lang en_US.UTF-8 rootpw --iscrypted $1$UY7I26.H$Q2PFYCUP6pFtMpsaTWO/w1 url --url http://mirror.centos.org/centos-5/5.0/os/x86_64/ key --skip network --bootproto=static --ip=152.3.220.167 --netmask=255.255.255.224 --gateway=152.3.220.161 --nameserver=152.3.250.1 firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc America/New_York bootloader --location=mbr --driveorder=xvda --append="console=xvc0" reboot clearpart --linux --drives=xvda --initlabel part /boot --fstype ext3 --size=256 --ondisk=xvda part swap --fstype swap --size=2048 --ondisk=xvda part / --fstype ext3 --size=100 --grow --ondisk=xvda %packages screen vim-enhanced yum %post # Setup EPEL if required if grep Enterprise /etc/redhat-release > /dev/null then echo '[epel] name=Extras Packages for Enterprise Linux $releasever - $basearch baseurl=http://download2.fedora.redhat.com/pub/epel/5/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://download2.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL' > /etc/yum.repos.d/epel.repo fi /usr/bin/yum -y install puppet /usr/bin/yum -y update /bin/sed -i s/.PUPPET_SERVER.*/PUPPET_SERVER=lockbox/ /etc/sysconfig/puppet #/sbin/chkconfig puppet on