NFS request is silently ignored on Windows [GH-1748]

This commit is contained in:
Mitchell Hashimoto 2013-07-20 00:38:58 -04:00
parent cf1768c7be
commit b2d1a26dcf
2 changed files with 9 additions and 0 deletions

View File

@ -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)

View File

@ -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