Skip to content
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

Use auto network only if hostmanager is installed #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use auto network only if hostmanager is installed #551

wants to merge 1 commit into from

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.

None yet

3 participants