vagrant-destroy-provisioner plugin allows a VM to be destroyed as a provisioning step.
Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
vagrant-destroy-provisioner.gemspec

README.md

Vagrant::Destroy::Provisioner

vagrant-destroy-provisioner allows a VM to be destroyed as a provisioning step.

Installation

$ vagrant plugin install vagrant-destroy-provisioner

Usage

config.vm.provision "destroy", destroy: true

Option

  • destroy: true/false

Destroy VM if true, otherwise only halt is executed. Default is true.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/vagrant-destroy-provisioner/fork )
  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 a new Pull Request