Problem: On a setup with chef-client as a provisioner, I had trouble vagrant destroying my machines, since chef-client tries to execute knife over ssh, see this, but the instance is already terminated. So the result was an SSHNotReady error and an exit status of 1.
Solution: ProvisionerCleanup is executed just before the instance is terminated, which, as I understood, is the intended behavior for vagrant, currently
Problem: On a setup with chef-client as a provisioner, I had trouble
vagrant destroy
ing my machines, since chef-client tries to executeknife
over ssh, see this, but the instance is already terminated. So the result was an SSHNotReady error and an exit status of 1.Solution: ProvisionerCleanup is executed just before the instance is terminated, which, as I understood, is the intended behavior for vagrant, currently