Skip to content

Instantly share code, notes, and snippets.

@gcaracuel
Last active September 27, 2016 06:49
Show Gist options
  • Save gcaracuel/500658a55645702229e1dffb38a385bb to your computer and use it in GitHub Desktop.
Save gcaracuel/500658a55645702229e1dffb38a385bb to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install VirtualBox Extension Pack
version=$(vboxmanage -v)
var1=$(echo $version | cut -d 'r' -f 1)
var2=$(echo $version | cut -d 'r' -f 2)
file="Oracle_VM_VirtualBox_Extension_Pack-$var1-$var2.vbox-extpack"
wget http://download.virtualbox.org/virtualbox/$var1/$file -O /tmp/$file
# tip sudo vboxmanage extpack uninstall "Oracle VM VirtualBox Extension Pack"
sudo vboxmanage extpack install /tmp/$file --replace
rm /tmp/$file
vboxmanage list extpacks
vagrant plugin install vagrant-hostmanager
vagrant plugin install vagrant-cachier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment