-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
action hook after provider specific actions #8500
Comments
open issue: The `restart_host_dns` action hook needs to get moved after provider specific actions (so that the host network had a chance to get configured). see hashicorp/vagrant#8500
Any news here? |
Hi again. |
I'm also interested in that. Unlike OP I could use |
Hey there, this will be in the next release of Vagrant via #10615. Cheers! 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Running on vagrant 1.9.3, I want a to inject a middleware at the very end of the stack. That is, after all provider specific actions and provisioning (if any) has run. In my specific case I want to make sure that all network stuff has been set up correctly. I also want to be provider agnostic, hence not injecting after something like
VagrantPlugins::ProviderVirtualBox::Action::Network
.Here a compressed version of what I'm doing:
What I see is, that my middleware will get executed after, what I would call the default stack, but before provider specific actions:
Is there another hook I should use? (I've tried
:machine_action_provision
which does not work for me, since I also need to run when there is no provisioning)The text was updated successfully, but these errors were encountered: