Skip to content

Commit

Permalink
Update the vagrant init Vagrantfile to have new network syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Mar 2, 2013
1 parent c80ad12 commit 0bb57fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/commands/init/Vagrantfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bb57fb

Please sign in to comment.