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