From a056852708ff1d3bcc84ae207c9c3fbbd97e1ba0 Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Tue, 18 Mar 2014 11:37:13 +0100 Subject: there is lib/veewee/provider/virtualbox/box/helper/guest_additions.rb that takes care of downloading vbox guest utils when needed --- wheezy/virtualbox.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wheezy/virtualbox.sh b/wheezy/virtualbox.sh index 6c8ef68..818ca30 100644 --- a/wheezy/virtualbox.sh +++ b/wheezy/virtualbox.sh @@ -10,7 +10,6 @@ if test -f .vbox_version ; then # Install dkms for dynamic compiles apt-get install -y dkms - # If libdbus is not installed, virtualbox will not autostart apt-get -y install --no-install-recommends libdbus-1-3 @@ -18,8 +17,6 @@ if test -f .vbox_version ; then # Install the VirtualBox guest additions VBOX_VERSION=$(cat .vbox_version) VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso - cd /tmp - wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso mount -o loop $VBOX_ISO /mnt yes|sh /mnt/VBoxLinuxAdditions.run umount /mnt @@ -33,6 +30,6 @@ if test -f .vbox_version ; then # Test mount the veewee-validation mount -t vboxsf veewee-validation /tmp/veewee-validation - rm /tmp/$VBOX_ISO + rm $VBOX_ISO fi -- cgit v1.2.3