我尝试使用VAPROBASH安装新VM(https://github.com/fideloper/Vaprobash) 但安装NFS共享文件夹时安装失败
我正在使用Mac OsX 10.9.2,Vagrant 1.6.2,VirtualBox 4.2.20
=> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o 'nolock,vers=3,udp,noatime' 192.168.22.1:'/Users/user/Sites/myfolder' /vagrant
Stdout from the command:
Stderr from the command:
stdin: is not a tty
mount.nfs: requested NFS version or transport protocol is not supported
任何帮助将不胜感激!谢谢!我需要开始一个项目!
答案 0 :(得分:2)
我找到了解决方案:
将127.0.0.1 localhost行添加到为我工作的/ etc / hosts文件中
我正在使用vagrant 1.6.2和vbox 4.3.10
https://github.com/mitchellh/vagrant/issues/1941#issuecomment-43098597