I wanted to have /vagrant mounted where read/right on either host or guest are using the same shared file system.
On ubuntu/trusty64, this works fine, but on debian/jessie64 this is not working. I need to figure out why this is happening. I was relying on this mechanism, not just for convenience, but also to have access to private keys so that I can ssh into any box from the vagrant account.
It seems the directory is copied. I am not sure if that is the expected behavior or an actual bug. The behavior is different under Ubuntu, it's actually mounted from the host.
I am using the following:
node.vm.synced_folder ".", "/home/vagrant/myapp", type: "rsync",
rsync__exclude: [".git/", "node_modules/", "npm-debug.log", "logs/"]
node.vm.synced_folder ".", "/vagrant", disabled: false