vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::Kernel_V2::VMConfig#network
Define a way to access the machine via a network. This exposes a
high-level abstraction for networking that may not directly map
1-to-1 for every provider. For example, AWS has no equivalent to
"port forwarding." But most providers will attempt to implement this
in a way that behaves similarly.
`type` can be one of:
* `:forwarded_port` - A port that is accessible via localhost
that forwards into the machine.
* `:private_network` - The machine gets an IP that is not directly
publicly accessible, but ideally accessible from this machine.
* `:public_network` - The machine gets an IP on a shared network.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/kernel_v2/config/vm.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--Kernel_V2--VMConfig-network-for-pr
# Commit to gitgit add plugins/kernel_v2/config/vm.rbgit commit -m "better docs for VagrantPlugins::Kernel_V2::VMConfig#network"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--Kernel_V2--VMConfig-network-for-pr
hub pull-request
# Celebrate!