vagrant up command giving error and eth1 not showing a resolvable ip address

时光毁灭记忆、已成空白 提交于 2019-12-01 14:24:34

It turns out that eth2 is the adapter to connect the Virtual-box directly to the outside Internet, so commenting out

config.vm.network :public_network

from the VagrantFile stopped the public network interfaces being loaded and so solved the issue.

This seems to be happen with bootup network configurations.

Although it failed to bring-up the network interface, you should be able to ssh into the box. To remove persistent network interfaces execute following commands in vagrant box folder.

vagrant ssh
sudo rm /etc/udev/rules.d/70-persistent-net.rules
exit
vagrant reload

source: https://github.com/mitchellh/vagrant/issues/921#issuecomment-15789964

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!