vagrant-pristine

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:

Installation

Make sure you have Vagrant 1.2+ and run:

vagrant plugin install vagrant-pristine

Usage

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request