@ -1866,9 +1866,15 @@ vagrant_configuration() {
# work around regression in virtualbox-guest-additions-iso 4.3.10
# work around regression in virtualbox-guest-additions-iso 4.3.10
if [ -d ${ TARGET } /opt/VBoxGuestAdditions-4.3.10 ] ; then
if [ -d ${ TARGET } /opt/VBoxGuestAdditions-4.3.10 ] ; then
echo "Installing VBoxGuestAddition symlink to work around vbox 4.3.10 issue"
ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions ${ TARGET } /usr/lib/VBoxGuestAdditions
ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions ${ TARGET } /usr/lib/VBoxGuestAdditions
fi
fi
if ! [ -e ${ TARGET } /sbin/mount.vboxsf ] && [ -e ${ TARGET } /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf ] ; then
echo "Installing mount.vboxsf symlink to work around vbox issue"
ln -s /usr/lib/x86_64-linux-gnu/VBoxGuestAdditions/mount.vboxsf ${ TARGET } /sbin/mount.vboxsf
fi
# MACs are different on buildbox and on local VirtualBox
# MACs are different on buildbox and on local VirtualBox
# see http://ablecoder.com/b/2012/04/09/vagrant-broken-networking-when-packaging-ubuntu-boxes/
# see http://ablecoder.com/b/2012/04/09/vagrant-broken-networking-when-packaging-ubuntu-boxes/
echo "Removing /etc/udev/rules.d/70-persistent-net.rules"
echo "Removing /etc/udev/rules.d/70-persistent-net.rules"