Skip to content

Instantly share code, notes, and snippets.

@jnimety
Created April 9, 2013 21:55
Show Gist options
  • Save jnimety/5349773 to your computer and use it in GitHub Desktop.
Save jnimety/5349773 to your computer and use it in GitHub Desktop.
export VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
cd /tmp
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso
mount -o loop,ro VBoxGuestAdditions_$VBOX_VERSION.iso /mnt
sh /mnt/VBoxLinuxAdditions.run
umount /mnt
rm VBoxGuestAdditions_$VBOX_VERSION.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment