Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (25 sloc) 998 Bytes
# Install the "Guest Additions" for VirtualBox
# On a headless system, this will generate an error:
# (Could not find the X.Org or XFree86 Window System.)
# Ignore it.
source /vagrant/env
sudo apt-get -y install build-essential linux-headers-`uname -r`
mkdir -p /tmp/guest-build
cd /tmp/guest-build
sudo umount /mnt
sudo mount VBoxGuestAdditions_$VIRTUALBOX_VERSION.iso -o loop /mnt
sudo /mnt/
sudo umount /mnt
echo ""
echo "----------------------------------------------------------------"
echo " NOTE: IGNORE: Installing the Window System drivers!"
echo ""
echo " To verify that the new guest additions are in,"
echo ""
echo " sudo tail -20 /var/log/dmesg"
echo ""
echo " and look for 'vboxguest: Successfully loaded version $VIRTUALBOX_VERSION'"
echo "----------------------------------------------------------------"
echo ""
Jump to Line
Something went wrong with that request. Please try again.