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.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/plugin/v1/guest.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Guest-distro_dispatch-for-pr


# Commit to git

git add lib/vagrant/plugin/v1/guest.rbgit commit -m "better docs for Vagrant::Plugin::V1::Guest#distro_dispatch"


# 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--V1--Guest-distro_dispatch-for-pr

hub pull-request


# Celebrate!