synced_folders/nfs: unavailable on Windows
This commit is contained in:
parent
c877fc27a7
commit
6b17783688
|
@ -19,7 +19,7 @@ module Vagrant
|
||||||
ordered << [priority, key, impl]
|
ordered << [priority, key, impl]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Order the plugins by priority
|
# Order the plugins by priority. Higher is tries before lower.
|
||||||
ordered = ordered.sort { |a, b| b[0] <=> a[0] }
|
ordered = ordered.sort { |a, b| b[0] <=> a[0] }
|
||||||
|
|
||||||
# Find the proper implementation
|
# Find the proper implementation
|
||||||
|
|
|
@ -25,6 +25,11 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def usable?(machine, raise_error=false)
|
def usable?(machine, raise_error=false)
|
||||||
|
# We don't currently support NFS on Windows
|
||||||
|
if Vagrant::Util::Platform.windows?
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
|
||||||
# NFS is always available
|
# NFS is always available
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue