流浪汉挂在清除任何先前设置的网络接口上

时间:2019-02-16 18:49:25

标签: windows-10 vagrant cygwin virtualbox centos7

我试图在Windows 10上通过CygWin使用Vagrant(2.2.3)和Virtual Box(5.2.24)创建VM CentOS7。

按照流浪汉的云指令(https://app.vagrantup.com/centos/boxes/7),我完成了以下命令

vagrant init centos/7

此命令在我的目录中生成一个Vagrantfile

使用命令...

vagrant up

...一切正常,但是如果我更改Vagrantfile以这种方式固定IP地址

  # Create a private network, which allows host-only access to the machine
  # using a specific IP.
   config.vm.network "private_network", ip: "192.168.33.10"

当我使用命令时...

vagrant up

...执行停止并显示此输出

$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos/7'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'centos/7' version '1901.01' is up to date...
==> default: Setting the name of the VM: Tmp
==> default: Clearing any previously set network interfaces...

并且没有完成。

任何建议将不胜感激!

0 个答案:

没有答案