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

Export settings to guest using environment variables #18

Open
pcriv opened this issue Apr 16, 2014 · 5 comments
Open

Export settings to guest using environment variables #18

pcriv opened this issue Apr 16, 2014 · 5 comments
Assignees

Comments

@pcriv
Copy link

pcriv commented Apr 16, 2014

I'm having a hard time understanding how to do this automatically, is this posible?

@maoueh
Copy link
Owner

maoueh commented Apr 18, 2014

You are talking about this section right?

What do you mean by automatically? What platform are you on? This will help me tailor the answer for your particular setup :)

Matt

@pcriv
Copy link
Author

pcriv commented Apr 18, 2014

Sorry, i should be more explicit, i use vagrant on windows, and by automatically i mean that when i provision the vm, my nugrant config parameters get created or updated as ENV on the vm.
Does this need and extra step to any of the methods described in the docs?

@maoueh
Copy link
Owner

maoueh commented Apr 18, 2014

The current ENV support written in the documentation is for environment population in the host system. This means they would not be available in the guest system, i.e. the VM. You can check issue-13 for the issue for which this feature was implemented.

For the ENV export to the guest system, if it's something you would use, I will happily check how could I support this. I'm pretty sure they is something in Vagrant I could leverage to implement this. I will change the title of this issue to reflect that.

I will ping you when I have something.

Matt

@maoueh maoueh changed the title How to set env automatically? Export settings to guest using environment variables Apr 18, 2014
@maoueh maoueh self-assigned this Apr 18, 2014
@pcriv
Copy link
Author

pcriv commented Apr 18, 2014

Maybe this plugin would be usefull somehow https://github.com/MOZGIII/vagrant-host-path.

@maoueh
Copy link
Owner

maoueh commented Apr 19, 2014

Yes indeed, that is useful, thanks for the tip.

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

2 participants