Created
February 3, 2016 11:45
-
-
Save psanxiao/be0ed17d5d77f70d2090 to your computer and use it in GitHub Desktop.
Install VBoxGuestAdditions on guest with vagrant
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
$ vagrant ssh | |
vagrantup:~$ cd /opt | |
vagrantup:~$ sudo wget -c http://download.virtualbox.org/virtualbox/5.0.12/VBoxGuestAdditions_5.0.12.iso -O VBoxGuestAdditions_5.0.12.iso | |
vagrantup:~$ sudo mount VBoxGuestAdditions_5.0.12.iso -o loop /mnt | |
vagrantup:~$ cd /mnt | |
vagrantup:~$ sudo sh VBoxLinuxAdditions.run --nox11 | |
vagrantup:~$ cd /opt | |
vagrantup:~$ sudo rm *.iso | |
vagrantup:~$ sudo umount /mnt | |
vagrantup:~$ exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment