-
Notifications
You must be signed in to change notification settings - Fork 147
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
Since upgrade to vagrant 2.0.1, my hostnames are assigned to 127.0.0.1 #250
Comments
I'm experiencing the same thing. |
This has to do with a behavior change in the VMware plugin itself... I noticed it a while back too. This is hack to keep it from getting in the way for now... config.hostmanager.ip_resolver = proc do |vm, resolving_vm|
if vm.id && vm.provider_name == :vmware_fusion
`'/Applications/VMware Fusion.app/Contents/Library/vmrun' getGuestIPAddress "#{vm.id}" -wait`.chomp
end
end Adding |
@bdwyertech your solution works great for me. Thanks!
I may have gotten it working. More tomorrow.
Cheers,
JP
… On Dec 18, 2017, at 5:14 PM, Brian Dwyer ***@***.***> wrote:
This has to do with a behavior change in the VMware plugin itself... I noticed it a while back too.
hashicorp/vagrant#9151
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The same is happening to me with docker on version 2.0.2 , are you sure this is VMware related only issue? I could be messing something up. |
Just adding this issue is not only vmware related as I asked before and is vagrant version related |
I've the same issue if I enable dhcp instead of static IP
Tried playing with hostmanager options without success. |
according to documentation setting |
The real ip (obtained from vmware dhcp) was assigned correctly with previous version.
example VagrantFile:
The text was updated successfully, but these errors were encountered: