diff options
author | kwadronaut <kwadronaut@leap.se> | 2014-03-18 11:37:13 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2014-03-18 11:37:13 +0100 |
commit | a056852708ff1d3bcc84ae207c9c3fbbd97e1ba0 (patch) | |
tree | 74e2be088fd59ff9371c87c989e5b5543ec48fb3 | |
parent | eb5882f20c50492c4a9119d9fb00e9c0e2f5a1e4 (diff) |
there is lib/veewee/provider/virtualbox/box/helper/guest_additions.rb
that takes care of downloading vbox guest utils when needed
-rw-r--r-- | wheezy/virtualbox.sh | 5 |
1 files changed, 1 insertions, 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 |