今天早上我遇到了一个非常奇怪的问题。当我重新启动计算机并尝试运行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 vers=3,rw,tcp,nolock,noacl,async 10.0.1.1:/Users/me/code /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: requested NFS version or transport protocol is not supported
我没有更改任何配置设置,也没有更新我的机器或任何东西。据我所知,没有任何改变。是什么赋予了?任何人对于这个问题是什么以及我可以采取什么措施都有任何想法?
对于遇到相同问题的任何人,您似乎都找不到其他解决方案,我的问题不在我的127.0.0.1 localhost
文件中/etc/hosts
。不知道它丢失的方式或原因,但是在重新添加时,它解决了该问题。