Vagrant:撤消通过设置静态私有IP

时间:2015-05-22 02:46:28

标签: vagrant

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/中的文件,但这似乎没有帮助。

0 个答案:

没有答案