Update the vagrant init Vagrantfile to have new network syntax

This commit is contained in:
Mitchell Hashimoto 2013-03-01 17:36:46 -08:00
parent c80ad12336
commit 0bb57fbe86
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@ Vagrant.configure("2") do |config|
# Create a forwarded port mapping which allows access to a specific port # 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, # 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. # 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 # Create a private network, which allows host-only access to the machine
# using a specific IP. # 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. # Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on # Bridged networks make the machine appear as another physical device on