【发布时间】:2015-11-06 14:25:10
【问题描述】:
当我尝试启动“vagrant up”时,脚本会正常执行,直到它到达最后一行,即挂载 NFS 共享驱动器的位置。
我尝试删除 /etc/ 中的导出文件,然后重新启动 nfsd 并 vagrant destroy / vagrant up 但无济于事。
经过相当长的一段时间后,控制台输出以下 [某些细节已编辑]:
*==> 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' XXX.XXX.XX.X:'/Users/dhatton/Google Drive/moodle-doodle/site' /var/www/site*
*Stdout from the command:*
*Stderr from the command:*
*mount.nfs: Connection timed out*
更新
上述问题是在使用VPN进入办公网络时遇到的。在没有 VPN 的情况下在现场登录后,一切都恢复正常了。
【问题讨论】: