Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Created April 6, 2013 08:29
Show Gist options
  • Save ngpestelos/5325398 to your computer and use it in GitHub Desktop.
Save ngpestelos/5325398 to your computer and use it in GitHub Desktop.
Install VirtualBox guest additions
#!/bin/sh
VBOX_VERSION=$(cat /home/vagrant/.vbox_version)
mount -o loop 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