-
Notifications
You must be signed in to change notification settings - Fork 148
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
Execution of hostmanager during vagrant reload #185
Comments
Thank you for the question @papadi - currently vagrant-hostmanager is not invoked during a vagrant reload. Given that a |
I'm using Vagrant with HyperV and external network. In this case there is no option other than DHCP and there are cases, when I do Vagrant Reload that the IP of my VM changes. |
I have this issue as well, in my case it's with the vagrant aws provider tho. Would love to submit a pull request, but also do not feel confident enough to tackle this just yet. |
I ended up creating a batch file for this. |
It would be great to have this issue fixed. For instance, in Homestead (the VM for PHP Laravel), you can add new sites (virtual hosts) by adding 2 lines to a yaml file, and the documentation states that you just have to run
|
Seems this works :)
|
hostmanager isn't executed when I run vagrant reload.
It does work if I execute it manually after vagrant reload by running vagrant hostmanager.
Any ideas? Can I make it run during reload too?
There is a chance, when using DHCP, that the IP will change during a reload.
The text was updated successfully, but these errors were encountered: