vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Plugin::V1::Guest#configure_networks
Configures the given list of networks on the virtual machine.
The networks parameter will be an array of hashes where the hashes
represent the configuration of a network interface. The structure
of the hash will be roughly the following:
{
type: :static,
ip: "192.168.33.10",
netmask: "255.255.255.0",
interface: 1
}Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/plugin/v1/guest.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Guest-configure_networks-for-pr
# Commit to gitgit add lib/vagrant/plugin/v1/guest.rbgit commit -m "better docs for Vagrant::Plugin::V1::Guest#configure_networks"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Plugin--V1--Guest-configure_networks-for-pr
hub pull-request
# Celebrate!