vagrant init [box-name] [box-url] — Add box and initialize VM
vagrant init centos65p http://puppet-vagrant-boxes.puppetlabs.com/centos-65-x64-virtualbox-puppet.box
vagrant init centos65 https://github.com/2creatives/vagrant-centos/releases/download/v6.5.3/centos65-x86_64-20140116.box
| OS | Provider | Installed | Source |
|---|---|---|---|
| CentOS | VirtualBox | Chef, Puppet | nrel.github.io » |
| CentOS, Debian, Fedora, SLES, Ubuntu | Fusion, VirtualBox | Puppet | puppet-vagrant-boxes.puppetlabs.com » |
| Various | VirtualBox | Various | vagrantbox.es » |
vagrant box add [box-name] [box-url] — Add box to Vagrant
vagrant box list — Display added boxes in Vagrant
vagrant box remove [box-name] [box-provider] — Remove box from Vagrant
vagrant box repackage [box-name] [box-provider] — Create Vagrant box file
vagrant up — Build, start, or resume VM
vagrant reload — Restart VM
vagrant suspend — Pause VM
vagrant halt — Shutdown VM
vagrant destroy — Destroy VM
vagrant ssh — SSH into VM
vagrant ssh-config — See SSH configuration of VM
vagrant status — See VM status
vagrant package — Create box file of VM
vagrant provision — Configure VM according to provision scripts