vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Plugin::V1::Guest#distro_dispatch
This method is automatically called when the system is available (when Vagrant can successfully SSH into the machine) to give the system a chance to determine the distro and return a distro-specific system. If this method returns nil, then this instance is assumed to be the most specific guest implementation.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/plugin/v1/guest.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Guest-distro_dispatch-for-pr
# Commit to gitgit add lib/vagrant/plugin/v1/guest.rbgit commit -m "better docs for Vagrant::Plugin::V1::Guest#distro_dispatch"
# 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--Guest-distro_dispatch-for-pr
hub pull-request
# Celebrate!