vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Plugin::V2::Provider#machine_id_changed

This method is called if the underying machine ID changes. Providers
can use this method to load in new data for the actual backing
machine or to realize that the machine is now gone (the ID can
become `nil`). No parameters are given, since the underlying machine
is simply the machine instance given to this object. And no
return value is necessary.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/plugin/v2/provider.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V2--Provider-machine_id_changed-for-pr


# Commit to git

git add lib/vagrant/plugin/v2/provider.rbgit commit -m "better docs for Vagrant::Plugin::V2::Provider#machine_id_changed"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Vagrant--Plugin--V2--Provider-machine_id_changed-for-pr

hub pull-request


# Celebrate!