Skip to content

Instantly share code, notes, and snippets.

@ymek
Created October 31, 2013 23:46
Show Gist options
  • Select an option

  • Save ymek/7259025 to your computer and use it in GitHub Desktop.

Select an option

Save ymek/7259025 to your computer and use it in GitHub Desktop.
# 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