vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Action::General::Package#setup_private_key
This will copy the generated private key into the box and use it for SSH by default. We have to do this because we now generate random keypairs on boot, so packaged boxes would stop working without this.
Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/action/general/package.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Action--General--Package-setup_private_key-for-pr
# Commit to gitgit add lib/vagrant/action/general/package.rbgit commit -m "better docs for Vagrant::Action::General::Package#setup_private_key"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Action--General--Package-setup_private_key-for-pr
hub pull-request
# Celebrate!