Vagrant WinNFSd

Manage and adds support for NFS on Windows.

Supported Platforms

As of version 1.0.6 or later Vagrant 1.5 is required. For Vagrant 1.4 please use the plugin version 1.0.5 or lower.

Supported guests:

  • Linux

Installation

Activate NFS for Vagrant

To activate NFS for Vagrant see: http://docs.vagrantup.com/v2/synced-folders/nfs.html

The plugin extends Vagrant in the way that you can use NFS also with Windows. So the following hint on the Vagrant documentation page is no longer true:

You will also need to declare some sort of network in order for NFS to work (the VirtualBox implied network will not work). Luckily this is easily done by adding the following line to your Vagrantfile:

Settings

Logging

You can activate the logging of the NFS daemon which will show the daemon window in the foreground. To activate the logging set the config.winnfsd.logging to on.

Set uid and gid

You can set the uid via the config.winnfsd.uid param and the gid via the config.winnfsd.gid param. Example:

Note that will be set global, that means the uid and gid is taken from the first box which starts the NFS daemon. If a box with an other uid or gid is started after that the option will be ignored.