I have some issues with Vagrant shared folders, my base system is Ubuntu 13.10 desktop.
I do not understand why I have this error is something that is not right conf
I believe this is the most updated answer now and it worked for me ( Guest Additions Version: 5.0.6
, VirtualBox Version: 4.3.16
, Ubuntu 14.04 LTS
)
https://github.com/mitchellh/vagrant/issues/3341#issuecomment-144271026
Basically i says:
Simple and Quick Solution for Failed to mount folders in Linux guest issue.
Add the following line to your Homestead/Vagrantfile:
config.vbguest.auto_update = false
Your Homestead/Vagrantfile should looks like this:
/...
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# To avoid install and uninstall VBoxGuessAdditions during vagrant provisioning.
config.vbguest.auto_update = false
.../
Save it and execute
$ vagrant destroy --force
$ vagrant up
Your log complains about not finding exportfs:
sudo: /usr/bin/exportfs: command not found
The exportfs makes local directories available for NFS clients to mount.
by now the mounting works on some machines (ubuntu) and some doesn't (centos 7) but installing the plugin solves it
vagrant plugin install vagrant-vbguest
without having to do anything else on top of that, just
vagrant reload