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

后端 未结 2 1120
名媛妹妹
名媛妹妹 2021-01-16 20:43

I am new to VMs, but have been using vagrant to run a Centos VM on Ubuntu 14.04. All of a sudden vagrant up command is giving this error:

root@         


        
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-16 21:20

    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.

提交回复
热议问题