NFS request is silently ignored on Windows [GH-1748]
This commit is contained in:
parent
cf1768c7be
commit
b2d1a26dcf
|
@ -45,6 +45,7 @@ BUG FIXES:
|
|||
- Forwarded ports don't auto-correct by default, and will raise an
|
||||
error properly if they collide. [GH-1701]
|
||||
- Retry SSH on ENETUNREACH error. [GH-1732]
|
||||
- NFS is silently ignored on Windows. [GH-1748]
|
||||
|
||||
## 1.2.4 (July 16, 2013)
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ require "set"
|
|||
|
||||
require "vagrant"
|
||||
require "vagrant/config/v2/util"
|
||||
require "vagrant/util/platform"
|
||||
|
||||
require File.expand_path("../vm_provisioner", __FILE__)
|
||||
require File.expand_path("../vm_subvm", __FILE__)
|
||||
|
@ -265,6 +266,13 @@ module VagrantPlugins
|
|||
@__compiled_provider_configs[name] = config
|
||||
end
|
||||
|
||||
@__synced_folders.each do |id, options|
|
||||
# Ignore NFS on Windows
|
||||
if options[:nfs] && Vagrant::Util::Platform.windows?
|
||||
options[:nfs] = false
|
||||
end
|
||||
end
|
||||
|
||||
# Flag that we finalized
|
||||
@__finalized = true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue