Skip to content

Instantly share code, notes, and snippets.

@replete
Created March 15, 2013 15:55
Show Gist options
  • Save replete/5170897 to your computer and use it in GitHub Desktop.
Save replete/5170897 to your computer and use it in GitHub Desktop.
script to update vagrant VM virtualbox additions to specified version.
#!/bin/sh
#Update script for VBoxGuestAdditions
VBA_VERSION=4.2.8
wget -c http://download.virtualbox.org/virtualbox/${VBA_VERSION}/VBoxGuestAdditions_${VBA_VERSION}.iso
sudo mount VBoxGuestAdditions_${VBA_VERSION}.iso -o loop /mnt
sudo sh /mnt/VBoxLinuxAdditions.run --nox11
rm -f VBoxGuestAdditions_${VBA_VERSION}.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment