Я могу создать коробку с одной частной сетью, но когда я добавляю более одной частной сети, она не появляется.
Vagrantfile:
Vagrant.configure("2") do |c|
c.vm.box = "bento/centos-7.3"
c.vm.box_url = ""
c.vm.hostname = "default-centos-7.vagrantup.com"
c.vm.network "public_network", bridge: "en0: Wi-Fi (AirPort)", ip: "192.100.2.10"
c.vm.network(:private_network, {:ip=>"192.100.2.15"})
c.vm.network(:private_network, {:ip=>"192.100.2.16"})
c.vm.network(:private_network, {:ip=>"192.100.2.17"})
end
c.vm.synced_folder "../../../", "/vagrant"
c.vm.provider :virtualbox do |p|
end
end
Не выдает никакой ошибки, но время добавления ключа ssh истекло.
==> 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: Connection reset. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection timeout. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
Что мне здесь не хватает?