core: Vagrantfile must be file [GH-2216]
This commit is contained in:
parent
8cc5b4ddb5
commit
cac28c82de
|
@ -19,6 +19,8 @@ BUG FIXES:
|
||||||
works. [GH-2196]
|
works. [GH-2196]
|
||||||
- core: Don't try to be clever about deleting the machine state
|
- core: Don't try to be clever about deleting the machine state
|
||||||
directory anymore. Manually done in destroy actions. [GH-2201]
|
directory anymore. Manually done in destroy actions. [GH-2201]
|
||||||
|
- core: Find the root Vagrantfile only if Vagrantfile is a file, not
|
||||||
|
a directory. [GH-2216]
|
||||||
- guests/linux: Try `id -g` in addition to `getent` for mounting
|
- guests/linux: Try `id -g` in addition to `getent` for mounting
|
||||||
VirtualBox shared folders [GH-2197]
|
VirtualBox shared folders [GH-2197]
|
||||||
- hosts/arch: NFS exporting works properly, no exceptions. [GH-2161]
|
- hosts/arch: NFS exporting works properly, no exceptions. [GH-2161]
|
||||||
|
|
|
@ -709,7 +709,7 @@ module Vagrant
|
||||||
filenames ||= ["Vagrantfile", "vagrantfile"]
|
filenames ||= ["Vagrantfile", "vagrantfile"]
|
||||||
filenames.each do |vagrantfile|
|
filenames.each do |vagrantfile|
|
||||||
current_path = search_path.join(vagrantfile)
|
current_path = search_path.join(vagrantfile)
|
||||||
return current_path if current_path.exist?
|
return current_path if current_path.file?
|
||||||
end
|
end
|
||||||
|
|
||||||
nil
|
nil
|
||||||
|
|
Loading…
Reference in New Issue