-
-
Save cordoval/3c6fea9315ec5c4b5798 to your computer and use it in GitHub Desktop.
Script to upgrade vagrant box to the latest 4.1.18 Guest Additions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing the virtualbox guest additions | |
sudo apt-get -y install linux-headers-$(uname -r) build-essential | |
sudo apt-get -y install dkms | |
#VBOX_VERSION=$(cat /home/vagrant/.vbox_version) | |
VBOX_VERSION=4.1.18 | |
cd /tmp | |
wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso | |
sudo mount -o loop VBoxGuestAdditions_$VBOX_VERSION.iso /mnt | |
sudo sh /mnt/VBoxLinuxAdditions.run | |
sudo umount /mnt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment