Last active
June 3, 2018 17:48
-
-
Save dceoy/9a884d11ef507b7395a0c927e288276d to your computer and use it in GitHub Desktop.
[Linux] Install the latest version of VirtualBox Guest Additions
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# # Mount vboxsf | |
# $ sudo mount -t vboxsf vbox ~/synced | |
set -uex | |
v=$(curl http://download.virtualbox.org/virtualbox/LATEST.TXT) | |
curl http://download.virtualbox.org/virtualbox/${v}/VBoxGuestAdditions_${v}.iso -o /tmp/vbga.iso | |
sudo mount -t iso9660 /tmp/vbga.iso /mnt/ | |
sudo /mnt/VBoxLinuxAdditions.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment