Vagrant对我来说很棒,现在vagrant up
需要永远启动:
default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
在大约30条消息之后,几分钟后它终于完成了。
我唯一改变的是设置私有静态IP地址:
Vagrant文件中的config.vm.network "private_network", ip: "192.168.33.10"
。
我已经从流浪文件中注释了这一行。如何撤消更改此设置时所做的所有更改?我删除了/var/lib/dhcp/
中的文件,但这似乎没有帮助。