vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
VagrantPlugins::ProviderVirtualBox::Action::SaneDefaults#attempt_and_log
This is just a helper method that executes a single command, logs the given string to the log, and also includes the exit status in the log message. We assume every command is idempotent and pass along the `retryable` flag. This is because VBoxManage is janky about running simultaneously on the same box, and if we up multiple boxes at the same time, a bunch of modifyvm commands get fired
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open plugins/providers/virtualbox/action/sane_defaults.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Action--SaneDefaults-attempt_and_log-for-pr
# Commit to gitgit add plugins/providers/virtualbox/action/sane_defaults.rbgit commit -m "better docs for VagrantPlugins::ProviderVirtualBox::Action::SaneDefaults#attempt_and_log"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-VagrantPlugins--ProviderVirtualBox--Action--SaneDefaults-attempt_and_log-for-pr
hub pull-request
# Celebrate!