vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Machine#id=

This sets the unique ID associated with this machine. This will
persist this ID so that in the future Vagrant will be able to find
this machine again. The unique ID must be absolutely unique to the
virtual machine, and can be used by providers for finding the
actual machine associated with this instance.

**WARNING:** Only providers should ever use this method.

Source | Google | Stack overflow

Edit

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

cd vagrant

open lib/vagrant/machine.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Machine-id--for-pr


# Commit to git

git add lib/vagrant/machine.rbgit commit -m "better docs for Vagrant::Machine#id="


# 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--Machine-id--for-pr

hub pull-request


# Celebrate!