Restore your vagrant machines to a pristine state with a single command. Basically
the same as runnning a vagrant destroy && vagrant up
.
Similar functionality may be provided by a future Vagrant release, see the issues below for more information:
Make sure you have Vagrant 1.2+ and run:
vagrant plugin install vagrant-pristine
Usage: vagrant pristine [vm-name]
--[no-]provision Enable or disable provisioning
--provision-with x,y,z Enable only certain provisioners, by type.
-f, --force Destroy without confirmation.
--[no-]parallel Enable or disable parallelism if provider supports it.
--provider provider Back the machine with a specific provider.
--[no-]update Enable or disable box update.
-h, --help Print this help
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request