vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::ProviderVirtualBox::Driver::Base#enable_adapters
Enables network adapters on the VM.
The format of each adapter specification should be like so:
{
type: :hostonly,
hostonly: "vboxnet0",
mac_address: "tubes"
}
This must support setting up both host only and bridged networks.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/providers/virtualbox/driver/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Driver--Base-enable_adapters-for-pr
# Commit to gitgit add plugins/providers/virtualbox/driver/base.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::Driver::Base#enable_adapters"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Driver--Base-enable_adapters-for-pr
hub pull-request
# Celebrate!