[debug] vagrant报错mount.nfs: Connection timed out
环境#
win11 使用 homestead 搭建 laravel 开发环境
Vagrant 2.3.3
virtualbox 6.1
问题#
folders:
...
- map: D:\lovan\codeSrc\mexico
to: /home/vagrant/code/mexico
type: "nfs"
- map: D:\lovan\codeSrc\mexico-new
to: /home/vagrant/code/mexico-new
type: "nfs"
homestead
中使用这种的同步配置,会报错
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp,vers=3,udp,nolock 192.168.56.1:/D/lovan/codeSrc/mexico-new /home/vagrant/code/mexico-new
Stdout from the command:
Stderr from the command:
mount.nfs: Connection timed out
解决方案#
将 mexico
注释掉即可,mexico
和 mexico-new
在解析的时候存在问题,具体原因暂未找到。
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: