adding note to Vagrantfile template aobut bridged networking

This commit is contained in:
Mike Fiedler 2012-01-01 12:24:57 -05:00 committed by Mitchell Hashimoto
parent 09945fe4f9
commit ccd688593f
1 changed files with 10 additions and 3 deletions

View File

@ -16,9 +16,16 @@ Vagrant::Config.run do |config|
# Boot with a GUI so you can see the screen. (Default is headless)
# config.vm.boot_mode = :gui
# Assign this VM to a host only network IP, allowing you to access it
# via the IP.
# config.vm.network "33.33.33.10"
# Assign this VM to a host-only network IP, allowing you to access it
# via the IP. Host-only networks can talk to the host machine as well as
# any other machines on the same network, but cannot be accessed (through this
# network interface) by any external networks.
# config.vm.network :hostonly "33.33.33.10"
# Assign this VM to a bridged network, allowing you to connect directly to a
# network using the host's network device. This makes the VM appear as another
# physical device on your network.
# config.vm.network :bridged
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.