epcim
10/23/2015 - 12:51 PM

vagrant.howto.md

Vagrant

#see sth. like: box.es
#config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"

vagrant box add quantal64 http://static.aldoborrero.com/vagrant/quantal64.box
vagrant init quantal64
vagrant up
vagrant help


# Fastest method: re-runs the provisioner (eg chef-solo) without stopping the VM.
vagrant provision

# Restarts VM, ru-provisions. Use this if you changed virtualbox settings (eg shared folders)
vagrant reload

# Destroys the active VM, and rebuilds from the base box.
# Slow, but guarantees stability.
vagrant destroy --force && vagrant up # deletes the VM and rebuilds 

plugins I use:

vagrant-berkshelf
vagrant-omnibus
vagrant-vbguest
vagrant-vbox-snapshot
vagrant-cachier