Created
October 31, 2013 23:46
-
-
Save ymek/7259025 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
| # Install NFS client | |
| apt-get -y install nfs-common | |
| # Without libdbus virtualbox would not start automatically after compile | |
| apt-get -y install --no-install-recommends libdbus-1-3 | |
| # The netboot installs the VirtualBox support (old) so we have to remove it | |
| aptitude -y purge virtualbox-ose-guest-x11 virtualbox-ose-guest-dkms virtualbox-ose-guest-utils | |
| aptitude -y install dkms | |
| # Install the VirtualBox guest additions | |
| VBOX_VERSION=$(cat /home/vagrant/.vbox_version) | |
| VBOX_ISO=VBoxGuestAdditions_$VBOX_VERSION.iso | |
| mount -o loop $VBOX_ISO /mnt | |
| yes|sh /mnt/VBoxLinuxAdditions.run --nox11 | |
| umount /mnt | |
| # Cleanup VirtualBox | |
| rm $VBOX_ISO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment