vagrant¶
"Vagrant is a tool for building and managing virtual machine environments in a single workflow." - https://www.vagrantup.com/intro/index.html
Links¶
- https://www.vagrantup.com
- https://docs.vagrantup.com/v2
- https://atlas.hashicorp.com
- Examples: https://github.com/patrickdlee/vagrant-examples
OS X Shell tweaks¶
Then in .bash_profile:
Plugins¶
Usage Examples¶
List which boxes you have stored locally¶
Remove an old version of a vagrant box¶
Script box updates¶
This may fail in some circumstances, I haven't tested it exhaustively.
vagrant box outdated --machine-readable --global |
awk -F, '$4 == "warn" {print $5; exit 1}' |
awk -F"'" '{print $2}' |
xargs -n1 vagrant box update --box