No I understand how to get process "Environment Variables" I'm looking for a reference to Vagrant::Environment as there are a number of methods and values that could be useful.
It looks like this used to be exposed in the Vagrantfile via @env but it appears to be gone now. On Wednesday, December 30, 2015 at 2:23:21 AM UTC-5, pixel fairy wrote: > > Do you mean environment variables? those are in a dictionary called ENV. > > Just posted this which uses it, > https://groups.google.com/forum/#!topic/vagrant-up/R31Bu-enX-k > > On Friday, December 25, 2015 at 6:27:57 AM UTC-8, Karl Bunch wrote: >> >> I've been trying to figure out how to reference the UI object in a >> Vagrantfile. >> >> I'm not a ruby developer so this may be obvious to others! :-) >> >> I'd like to be able to use a couple methods in the UI object such as >> "say" or "ask" and "report_progress" >> >> Is there a way to reference the 'Vagrant::Environment' object from inside >> the configure block in a Vagrantfile? >> >> >> -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/778f6947-ef94-48fd-a77a-c7e0c86213c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
