I am experiencing an issue that has come up before here in the forums, but I feel like I’ve tried every possible suggested solution - both here on the discourse, github and stack overflow - but to no avail.
My setup:
macOS Sierra (10.12.2)
Vagrant 1.9.1
Ansible 2.2.0.0
I’ve followed every step of the guide here in the Trellis docs, and when I vagrant up
I receive the following error:
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3 192.168.50.1:/Users/username/Dev/example.com/site /vagrant-nfs-example.com
result=$?
if test $result -eq 0; then
if test -x /sbin/initctl && command -v /sbin/init && /sbin/init 2>/dev/null --version | grep upstart; then
/sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=/vagrant-nfs-example.com
fi
else
exit $result
fi
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported
I should mention that I have been able to vagrant up
before without this issue and as far as I know I haven’t updated my os or anything.
Any help or tips would be greatly appreciated!
Thanks