Skip to content

Conversation

@hussainweb
Copy link

On my machine, hostmanager does not work very well and I removed it. Auto network still stayed around. The problem is that even if I assign a specific address and hostname in the Vagrantfile in the server_ip setting, neither works. I have to figure out the IP address assigned by auto network and then use that.

IMHO, this is a bug as neither config options server_ip and hostname work in this scenario. The change in PR should fix the issue by using auto_network only if hostmanager is also installed (so that at least hostname can be used).

@fideloper
Copy link
Owner

I'm guessing to figure out the IP address you had to go into the VM and run ifconfig ?

@hussainweb
Copy link
Author

Yes, that's right.

@hussainweb
Copy link
Author

Actually, I can see the IP when the machine is created but it is usually fast and the screen gets filled with output from provisioning.

@stereoplegic
Copy link

I too have problems with hostmanager, but was able to get the very similar vagrant-hostsupdater plugin to work. If we're going to make auto network conditional, can we have it check for any of (at least the most popular of) the hosts-modifying plugins before disabling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants