-
-
Save pablete/8326305 to your computer and use it in GitHub Desktop.
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
# Based on https://gist.github.com/fernandoaleman/5083680 | |
# Guest Additions Version: 4.3.6 | |
# VirtualBox Version: 4.3.6 | |
$ vagrant ssh | |
vagrantup:~$ sudo apt-get install linux-headers-$(uname -r) build-essential | |
vagrantup:~$ sudo wget -c http://download.virtualbox.org/virtualbox/4.3.6/VBoxGuestAdditions_4.3.6.iso \ | |
-O VBoxGuestAdditions_4.3.6.iso | |
vagrantup:~$ sudo mount VBoxGuestAdditions_4.3.6.iso -o loop /mnt | |
vagrantup:~$ cd /mnt | |
vagrantup:~$ sudo sh VBoxLinuxAdditions.run --nox11 | |
vagrantup:~$ cd | |
vagrantup:~$ sudo rm *.iso | |
vagrantup:~$ sudo /etc/init.d/vboxadd setup | |
vagrantup:~$ sudo update-rc.d vboxadd defaults | |
vagrantup:~$ sudo update-rc.d vboxadd enable | |
vagrantup:~$ exit | |
# Now check that the Guest Additions work | |
$ vagrant halt | |
$ vagrant up | |
# Package the new VM | |
$ vagrant halt | |
$ vagrant package --output ubuntu_saucy_4.3.4.box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment