Disable default mount point
By default Vagrant mounts the directory containing the Vagrantfile as v-root.
Is there a way to remove this mount? In the mean-time I've mapped it to an empty directory instead.
I'd like this as well (I think). I've run into issues with freebsd guests (which only support nfs) that appear to be related to having one nfs export as a subdirectory of another. Since my Vagrantfile is not in the project root, I need to suppress the normal /vagrant mount so I can mount the whole project.
That, and vboxsf is terrible. No symlink support? Really?
Seems like for at least some projects, it'd be worthwhile to support sshfs, nfs, or really anything else.
@masover: nfs is already supported.
Is nfs supported as an option for the default mount?
Yes, just re-declare it with:
config.vm.share_folder "v-root", "/vagrant", ".", :nfs => true
closing this one as per @mitchellh's comment on https://github.com/mitchellh/vagrant/issues/1785#issuecomment-18814766
Unfortunately the provided mitigation still means that providers that have this writable mount are not suitable for production use.