I guess the better question is can these be overridden inside a Vagrantfile 
before a call to Vagrant.configure or does it only function if its in the 
environment before vagrant execution.

On Wednesday, April 9, 2014 11:40:53 PM UTC-4, Julio Lajara wrote:
>
> Hi all, im using vagrant 1.5.2 and have added the following to the top of 
> my Vagrantfile:
>
> home_dir                           = File.expand_path(ENV['HOME'] || 
> ENV['USERPROFILE'] || "~")
> vagrant_dir                        = File.join(home_dir, ".vagrant.d")
> vagrant_dotfile_path            = File.join(vagrant_dir, "state") 
> #Defaults to ".vagrant" of CWD
>
> ENV['VAGRANT_HOME']                = vagrant_dir
> ENV['VAGRANT_DOTFILE_PATH']        = vagrant_dotfile_path
>
>
> The vagrant doftile path is not changing however, it remains in CWD as 
> ".vagrant". Does this work for anyone else?
>
> Thanks,
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to