What is the best way to implement Vagrant NFS "synchronized folders" between a host and a virtual machine?
Finally, I was able to get NFS to work, but it required a few settings on the VM; and I'm not sure how to automate these changes for other users.
In particular, I need to change the UID / GID in / etc / passwd and / etc / group so that they match the user / group identifiers of the exported file system. (for example, the host uses 502: 20, the apache VM user must be configured to use 502: 20)
Without this change, I have all sorts of permissions / property rights that prevent the web application from starting. With a UID / GID match, everything works fine.
I read all the documents I could find, including the Vagrant website.
As a side note: I also tried synchronizing the source folder (painfully slow) and rsync (100% CPU ... unusable)
NFS seems like a winner in performance, but my setup is sketchy.
If that matters, I work with the following:
- Host: OS X 10.9.2
- Tramp: 1.5.4
- Supplier: VMware Fusion
- Insert: chef / centos-6.5
- Dev Application: Magento 1.8
vagrant vagrantfile vmware-fusion nfs
Douglas choma
source share