vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::ProviderVirtualBox::Driver::Base#read_dhcp_servers
Returns a list of configured DHCP servers
Each DHCP server is represented as a Hash with the following details:
{
:network => String, # name of the associated network interface as
# parsed from the NetworkName, e.g. "vboxnet0"
:ip => String, # IP address of the DHCP server, e.g. "172.28.128.2"
:lower => String, # lower IP address of the DHCP lease range, e.g. "172.28.128.3"
:upper => String, # upper IP address of the DHCP lease range, e.g. "172.28.128.254"
}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-read_dhcp_servers-for-pr
# Commit to gitgit add plugins/providers/virtualbox/driver/base.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::Driver::Base#read_dhcp_servers"
# 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-read_dhcp_servers-for-pr
hub pull-request
# Celebrate!