Update the vagrant init Vagrantfile to have new network syntax
This commit is contained in:
parent
c80ad12336
commit
0bb57fbe86
|
@ -16,11 +16,11 @@ Vagrant.configure("2") do |config|
|
|||
# Create a forwarded port mapping which allows access to a specific port
|
||||
# within the machine from a port on the host machine. In the example below,
|
||||
# accessing "localhost:8080" will access port 80 on the guest machine.
|
||||
# config.vm.network :forwarded_port, 80, 8080
|
||||
# config.vm.network :forwarded_port, guest: 80, host: 8080
|
||||
|
||||
# Create a private network, which allows host-only access to the machine
|
||||
# using a specific IP.
|
||||
# config.vm.network :private_network, "192.168.33.10"
|
||||
# config.vm.network :private_network, ip: "192.168.33.10"
|
||||
|
||||
# Create a public network, which generally matched to bridged network.
|
||||
# Bridged networks make the machine appear as another physical device on
|
||||
|
|
Loading…
Reference in New Issue