Permalink
Browse files

Update 12.04.2 template - splitting out virtualbox & vmfusion install

  • Loading branch information...
petecheslock committed Mar 20, 2013
1 parent 3228106 commit 43b94fb23b4d3e1e12c75bff5e4eb70d68771623
@@ -37,7 +37,8 @@
:postinstall_files => [
"base.sh",
"vagrant.sh",
"vmtools.sh",
"vmfusion.sh",
"virtualbox.sh",
"ruby.sh",
"puppet.sh",
"chef.sh",
@@ -0,0 +1,18 @@
# Without libdbus virtualbox would not start automatically after compile
apt-get -y install --no-install-recommends libdbus-1-3
# The netboot installs the VirtualBox support (old) so we have to remove it
/etc/init.d/virtualbox-ose-guest-utils stop
rmmod vboxguest
aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils
aptitude -y install dkms
# Install the VirtualBox guest additions
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso
mount -o loop $VBOX_ISO /mnt
yes|sh /mnt/VBoxLinuxAdditions.run
umount /mnt
#Cleanup VirtualBox
rm $VBOX_ISO
@@ -0,0 +1,7 @@
cd /tmp
mkdir -p /mnt/cdrom
mount -o loop /home/vagrant/linux.iso /mnt/cdrom
tar zxvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
/tmp/vmware-tools-distrib/vmware-install.pl -d
rm /home/vagrant/linux.iso
umount /mnt/cdrom

This file was deleted.

Oops, something went wrong.
@@ -5,7 +5,7 @@ apt-get -y update
apt-get -y upgrade
apt-get -y install gcc build-essential linux-headers-$(uname -r)
apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev
apt-get -y install vim
apt-get -y install vim curl
apt-get clean
# Setup sudo to allow no-password sudo for "sudo"
@@ -33,7 +33,8 @@
:postinstall_files => [
"base.sh",
"vagrant.sh",
"vmtools.sh",
"virtualbox.sh",
"vmfusion.sh",
"ruby.sh",
"puppet.sh",
"chef.sh",
@@ -0,0 +1,18 @@
# Without libdbus virtualbox would not start automatically after compile
apt-get -y install --no-install-recommends libdbus-1-3
# The netboot installs the VirtualBox support (old) so we have to remove it
/etc/init.d/virtualbox-ose-guest-utils stop
rmmod vboxguest
aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils
aptitude -y install dkms
# Install the VirtualBox guest additions
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso
mount -o loop $VBOX_ISO /mnt
yes|sh /mnt/VBoxLinuxAdditions.run
umount /mnt
#Cleanup VirtualBox
rm $VBOX_ISO
@@ -0,0 +1,7 @@
cd /tmp
mkdir -p /mnt/cdrom
mount -o loop /home/vagrant/linux.iso /mnt/cdrom
tar zxvf /mnt/cdrom/VMwareTools-*.tar.gz -C /tmp/
/tmp/vmware-tools-distrib/vmware-install.pl -d
rm /home/vagrant/linux.iso
umount /mnt/cdrom

0 comments on commit 43b94fb

Please sign in to comment.