774e19b152
Prior to this commit, if a user set the env var VAGRANT_HOME to be the same directory where the project home is, Vagrant would load that file twice and merge its config. This caused various provisioner and other provider blocks to unexpectedly run twice. This commit updates the config loader to look and see if the `:root` and `:home` procs are equal, and if so, removes the `:home` object so that it isn't loaded and duplicated. This commit however does not prevent duplicate loading if an identical Vagrantfile exists in the home and project dir if those locations are different. |
||
---|---|---|
.. | ||
vagrant | ||
vagrant.rb |