Last active
May 26, 2016 00:50
-
-
Save johncip/9dfd7f0e78f2e41768da39473cab1291 to your computer and use it in GitHub Desktop.
Install VirtualBox Guest Additions on Ubuntu
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
# Install VirtualBox guest additions on Ubuntu | |
# https://www.vagrantup.com/docs/virtualbox/boxes.html | |
VB_VERSION='5.0.20' | |
wget "http://download.virtualbox.org/virtualbox/$VB_VERSION/VBoxGuestAdditions_$VB_VERSION.iso" | |
sudo mkdir /media/VBoxGuestAdditions | |
sudo mount -o loop,ro "VBoxGuestAdditions_$VB_VERSION.iso" /media/VBoxGuestAdditions | |
sudo sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run | |
rm "VBoxGuestAdditions_$VB_VERSION.iso" | |
sudo umount /media/VBoxGuestAdditions | |
sudo rmdir /media/VBoxGuestAdditions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment