vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings#read_dynamic_machine_ip

Returns the IP address of the guest by looking at vbox guest property
for the appropriate guest adapter.

For DHCP interfaces, the guest property will not be present until the
guest completes

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open plugins/providers/virtualbox/action/prepare_nfs_settings.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Action--PrepareNFSSettings-read_dynamic_machine_ip-for-pr


# Commit to git

git add plugins/providers/virtualbox/action/prepare_nfs_settings.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::Action::PrepareNFSSettings#read_dynamic_machine_ip"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Action--PrepareNFSSettings-read_dynamic_machine_ip-for-pr

hub pull-request


# Celebrate!