vagrant/plugins/providers
Paul Hinze eacb798a71
Fix action hooks running twice in destroy_on_error scenarios
The "destroy_on_error" functionality for `vagrant up` is implemented in
the `recover()` action chain, and works by firing off a destroy action
from inside that chain.

This is all well and good, but it copies its existing `env` which has
had `action_name` set for the up action. This was causing action_hooks
for up actions to attach to this destroy action stack.

Setting the action_name explicitly in the env before firing the runner
should correct the behavior. I'm not sure if raw_action_name is used
anywhere but I figured it was better to be consistent vs conservative in
what we change.
2022-04-25 12:26:56 -05:00
..
docker Update compose tests to pass fully through Util::Subprocess 2021-07-12 09:54:56 -07:00
hyperv Use detected device when iterating over available addresses 2021-07-27 08:07:39 -07:00
virtualbox Fix action hooks running twice in destroy_on_error scenarios 2022-04-25 12:26:56 -05:00