NFS mounts on Debian 8 (jessie)

Vagrant guest mounts failed by default (host: Debian testing (stretch), guest: Debian 8 (jessie)), with error

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp' 192.168.121.1:'/home/ville/tmp/xx' /vagrant

Stdout from the command:



Stderr from the command:

stdin: is not a tty
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

Fix was to use NFSv4 and TCP in Vagrantfile.

config.vm.synced_folder ".", "/vagrant", :nfs => true, :nfs_version => 4, :nfs_udp => false

```

Feedback / comments?

Ping me (@ypcs) on Twitter