Its assumed that:
vagrant up
is donevagrant provision
too- shared folders/sync still not work
First and foremost:
- get your Virtualbox version:
vboxmanage --version | cut -d 'r' -f1
- keep the returned version and for this example lets say: VBOXVERSION = 4.3.36
Connect to your machine:
vagrant ssh
Swith to super user ('su') or prefix the following commands by 'sudo'
Execute one by one and replace VBOXVERSION by the returned version before in our case 4.3.36)
mkdir -p /media/VirtualBoxGuestAdditions
curl -sSOL http://download.virtualbox.org/virtualbox/
VBOXVERSION /VBoxGuestAdditions_
VBOXVERSION .iso
mount -t iso9660 -o loop VBoxGuestAdditions_
VBOXVERSION .iso /media/VirtualBoxGuestAdditions
/media/VirtualBoxGuestAdditions/VBoxLinuxAdditions.run
DO NOT COPY/PASTE THE FOLLOWING EXAMPLE
Just to be clear the result in our example would be:
mkdir -p /media/VirtualBoxGuestAdditions
curl -sSOL http://download.virtualbox.org/virtualbox/4.3.36/VBoxGuestAdditions_4.3.36.iso
mount -t iso9660 -o loop VBoxGuestAdditions_4.3.36.iso /media/VirtualBoxGuestAdditions
/media/VirtualBoxGuestAdditions/VBoxLinuxAdditions.run