I am running Vagrant v. 1.7.2 with Ubuntu Precise64 as guest on Mac OS 10.9.5 as host. I find that synced folders are not working by default — there is no /vagrant directory on the Guest OS.
But if I specify a value for
config.vm.synced_folder in the Vagrantfile, all works as expected:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box_download_checksum_type = "sha256"
config.vm.box_download_checksum = "9a8bdea70e1d35c1d7733f587c34af07491872f2832f0bc5f875b536520ec17e"
config.vm.synced_folder ".", "/vagrant"
end
According to
https://docs.vagrantup.com/v2/synced-folders/basic_usage.html, under "Enabling", this behavior is supposed to be default, without specifying
config.vm.synced_folder.
Any thoughts on why this is taking place or suggestions for how to address it?