vagrant-vsphere icon indicating copy to clipboard operation
vagrant-vsphere copied to clipboard

Wrong vagrant ssh hostname

Open oorestisime opened this issue 8 years ago • 2 comments

I am not sure if this is actually an issue with the vsphere plugin but i thought to mention this here first. When i clone a vm and in the provisioning i install docker then the hostname of ssh-config (and thus the vagrant ssh) is wrong. basically it gets the docker address which is 172.17.0.1

Any idea how i can solve this?

oorestisime avatar Apr 20 '17 13:04 oorestisime

Try the real_nic_ip option. Not sure why this isn't on by default...

edmcman avatar Apr 20 '17 13:04 edmcman

Worked great thanks a lot! Not sure why this is isn't on.

oorestisime avatar Apr 20 '17 13:04 oorestisime