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

Plugin does not trigger from box-embedded Vagrantfile #131

Closed
dkarlovi opened this issue Jan 17, 2015 · 2 comments
Closed

Plugin does not trigger from box-embedded Vagrantfile #131

dkarlovi opened this issue Jan 17, 2015 · 2 comments

Comments

@dkarlovi
Copy link

I've made an example repo showing my plugin usage. The Vagrantfile that gets embedded to the box being used is in box folder and the project-specific is in project folder.

The issue is, without reiterating

config.hostmanager.enabled = true
config.hostmanager.manage_host = true

in the project config, hostmanager does not trigger on vagrant up or vagrant hostmanager even though it figures out the IP address, aliases and everything (debugged from running vagrant hostmanager). So I'm guessing it somehow loses the configuration, but cannot figure out how and where.

If I copy and paste these lines from box config to project config, it uses my aliases and ip_resolver properly so it does get those settings correctly.

@oddwheel
Copy link

oddwheel commented Oct 7, 2015

+1 here
host - windows 7 x64
guest - ubuntu trusty64

@seth-reeser
Copy link
Member

Please reopen if this is an issue with the latest version of Vagrant and vagrant-hostmanager.

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

No branches or pull requests

3 participants