# Kickstart file automatically generated by anaconda. install cdrom #interactive lang en_US.UTF-8 keyboard us network --device eth0 --bootproto static --ip 192.168.10.10 --netmask 255.255.255.0 --gateway 192.168.10.5 --nameserver 192.168.10.5 --hostname gimbli.softdux.com #network --device eth1 --onboot no --bootproto dhcp --hostname gimbli.softdux.com rootpw R0otP4ss!23 firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone Africa/Johannesburg bootloader --location=mbr --driveorder=sda #driverdisk --source=/r1000-2.6.18_8.img #driverdisk --source=cdrom:/r1000-2.6.18_8.img zerombr yes clearpart --all #%include /tmp/partinfo %pre # Determine how many number/type/size of drives we have set $(list-harddrives) let numd=$#/2 # This will provide the total # of drives d1=$1 # This is the device of disk 1 d2=$3 # This is the device of disk 2, etc. S1=$2 # This is the size of disk 1 S2=$4 # This is the size of disk 2, etc. # This would be a partition scheme for two or more drives if [ $numd -ge 2 ] ; then cat << EOF >> /tmp/partinfo part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 volgroup volgrp01 pv.01 part pv.02 --size=1 --grow --fstype=ext3 --ondisk=$d2 volgroup volgrp02 pv.02 #HOWEVER_YOU_WANT_TO_PARTITION EOF else cat << EOF >> /tmp/partinfo part pv.01 --size=1 --grow --fstype=ext3 --ondisk=$d1 volgroup volgrp01 pv.01 #HOWEVER_YOU_WANT_TO_PARTITION EOF fi %include /tmp/partinfo #reboot %packages --nobase #openssh-server #bash #@virtualization wget #lynx #mutt #links ftp #mlocate #mrtg #man #bzip2 #groff -aspell -aspell-en -bluez-utils -gpm -finger -irda-utils -isdn4k-utils -logwatch -ppp -rdate -rdist -rp-pppoe -rsh -wvdial -ypbind -yp-tools %post #Disabled Services /sbin/chkconfig cpuspeed off /sbin/chkconfig iptables off /sbin/chkconfig sendmail off mkdir -p /etc/system-info date --iso-8601=minutes > /etc/system-info/install-date echo "method=kickstart version=1 revision=1" > /etc/system-info/install-method exec < /dev/tty3 > /dev/tty3 chvt 3 echo echo echo "######################################" echo " " echo " Downloading the latest cPanel releas " echo " " echo "######################################" echo echo mkdir /home/cpins cd /home/cpins #wget http://layer1.cpanel.net/latest echo echo echo "######################################" echo " " echo " Busy installing cPanel....... " echo " " echo "######################################" echo echo sh latest echo echo echo "######################################" echo " " echo " The latest cPanel has been installed " echo " " echo "######################################" echo echo