mitchellh/vagrant — pull request #2224 by gregwork (2013-09-18 11:50:17+00:00)
Title: Clean up 'sentinel' files during destroy ...

... so that provisioners are run normally during the next 'up'.

These files are used to skip running provisioners and changing the
hostname on second and subsequent vagrant up's to make halt/up and
suspend/up cycles faster. As these files are not cleaned up during a
destroy, the provisioners were being skipped during destroy/up cycles as
well.

See #2223 and https://github.com/mitchellh/vagrant/issues/1776#issuecomment-24642298

(I'm aware this is a bit hackish; I can look at having Vagrant::Action::Builtin::Provision and VagrantPlugins::ProviderVirtualBox::Action::SetName push
their sentinel file names into env and collect them here if that's more agreeable).