Я хочу, чтобы машина в другом IP:
# Port forwarding
config.vm.network "private_network", ip: "127.0.100.20"
config.vm.network "forwarded_port", host_ip: "127.0.100.20", guest: 22, host: 47022
config.vm.network "forwarded_port", host_ip: "127.0.100.20", guest: 80, host: 47080
config.vm.network "forwarded_port", host_ip: "127.0.100.20", guest: 443, host: 47443
Но Vagrant все еще пытается использовать IP по умолчанию:
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:47022
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection refused. Retrying...
default: Warning: Connection refused. Retrying...
default: Warning: Connection refused. Retrying...
default: Warning: Connection refused. Retrying...
default: Warning: Connection refused. Retrying...
default: Warning: Connection refused. Retrying...
Как я могу сказать Vagrant, что машина связана с другим IP?