-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support networks that use type: "dhcp"
#45
Comments
type: "dhcp"
Some clues here : devopsgroup-io/vagrant-hostmanager#86 Seems to work from ruby with |
DHCP isn't supported. I believe vagrant hosts plugin only supports |
The `vagrant-hosts` plugin currently does not pull information from dynamic sources such as DHCP network interfaces or provider-specific SSH info. Ref #45
This is correct. |
type: "dhcp"
type: "dhcp"
Setup:
What happens:
The hosts file added to the guests looks like
What should happen:
The host file looks like
where is the IP address assigned.
I went digging for if the IP of the guest vm could be grabbed from somewhere in vagrant, but I wasn't able to find where that might be. Until someone smarter than me figures out how to do that, I think the best solution is to ignore guest networks that are using DHCP to get their IP addresses for now.
The text was updated successfully, but these errors were encountered: