Merge pull request #973 from mattrobenolt/expand-dotpath
Allow the .vagrant dotfile to be moved into a completely different directory tree
This commit is contained in:
commit
7bf613a162
|
@ -115,7 +115,7 @@ module Vagrant
|
|||
# @return [Pathname]
|
||||
def dotfile_path
|
||||
return nil if !root_path
|
||||
root_path.join(config.global.vagrant.dotfile_name)
|
||||
root_path.join(File.expand_path(config.global.vagrant.dotfile_name))
|
||||
end
|
||||
|
||||
# Returns the collection of boxes for the environment.
|
||||
|
|
Loading…
Reference in New Issue