diff --git a/definitions/centos-5.6-x86_64-netinstall/ks.cfg b/definitions/centos-5.6-x86_64-netinstall/ks.cfg index ff5d0a4..1c9842a 100644 --- a/definitions/centos-5.6-x86_64-netinstall/ks.cfg +++ b/definitions/centos-5.6-x86_64-netinstall/ks.cfg @@ -1,7 +1,7 @@ # Kickstart file automatically generated by anaconda. install -url --url=http://192.168.0.150/centos/5.6/os/x86_64 +url --url=http://192.168.1.200/centos/5.6/os/x86_64 lang en_US.UTF-8 langsupport --default=en_US.UTF-8 en_US.UTF-8 keyboard us @@ -55,6 +55,11 @@ man -dhcpv6-client -iptables-ipv6 -rhpl +nfs-utils +nfs-utils-lib +libevent +libgssapi +portmap %post # The installer apparently does not respect 'selinux' in a kickstart. Instead, we sed that shit. diff --git a/definitions/centos-5.6-x86_64-netinstall/postinstall.sh b/definitions/centos-5.6-x86_64-netinstall/postinstall.sh index 2a858ca..0c6251f 100644 --- a/definitions/centos-5.6-x86_64-netinstall/postinstall.sh +++ b/definitions/centos-5.6-x86_64-netinstall/postinstall.sh @@ -7,7 +7,7 @@ yum -y kernel-devel-`uname -r` yum -y clean all # Install ruby. -wget http://192.168.0.150/ruby-enterprise-1.8.7-2010.02.tar.gz +wget http://192.168.1.200/ruby-enterprise-1.8.7-2010.02.tar.gz #wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz tar xzvf ruby-enterprise-1.8.7-2010.02.tar.gz ./ruby-enterprise-1.8.7-2010.02/installer -a /opt/ruby --no-dev-docs --dont-install-useful-gems @@ -35,7 +35,7 @@ chown -R vagrant /home/vagrant/.ssh VBOX_VERSION=$(cat /home/vagrant/.vbox_version) cd /tmp #wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso -wget http://192.168.0.150/VBoxGuestAdditions_$VBOX_VERSION.iso +wget http://192.168.1.200/VBoxGuestAdditions_$VBOX_VERSION.iso mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt sh /mnt/VBoxLinuxAdditions.run umount /mnt @@ -51,7 +51,7 @@ sed -e "s/dhcp/none/" /etc/sysconfig/network-scripts/ifcfg-eth0 > /etc/sysconfig sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers -#reboot -#poweroff -h +# Aha - added shredding. +dd if=/dev/zero of=/tmp/clean || rm /tmp/clean exit