# install virtualbox guest additions VBOX_VERSION=$(cat /root/.vbox_version) cd /tmp wget http://download.virtualbox.org/virtualbox/"$VBOX_VERSION"/VBoxGuestAdditions_"$VBOX_VERSION".iso mount -o loop VBoxGuestAdditions_"$VBOX_VERSION".iso /mnt sh /mnt/VBoxLinuxAdditions.run umount /mnt rm VBoxGuestAdditions_"$VBOX_VERSION".iso # host-only networking cat >> /etc/rc.local <