1

我正在尝试使用 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

任何帮助,将不胜感激!谢谢!我需要开始一个项目!

4

1 回答 1

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

于 2014-05-20T11:49:43.677 回答