vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Plugin::V1::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.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/plugin/v1/provider.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Provider-machine_id_changed-for-pr
# Commit to gitgit add lib/vagrant/plugin/v1/provider.rbgit commit -m "better docs for Vagrant::Plugin::V1::Provider#machine_id_changed"
# 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--Provider-machine_id_changed-for-pr
hub pull-request
# Celebrate!