Fix some issues with NFS version selecting

This commit is contained in:
Mitchell Hashimoto 2012-01-29 13:33:35 -08:00
parent 3033b634b1
commit 3a8c44301b
3 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ Vagrant::Config.run do |config|
config.nfs.map_uid = :auto config.nfs.map_uid = :auto
config.nfs.map_gid = :auto config.nfs.map_gid = :auto
config.nfs.version = 3
config.package.name = 'package.box' config.package.name = 'package.box'
end end

View File

@ -91,6 +91,7 @@ module Vagrant
key, opts = data key, opts = data
opts[:map_uid] = prepare_permission(:uid, opts) opts[:map_uid] = prepare_permission(:uid, opts)
opts[:map_gid] = prepare_permission(:gid, opts) opts[:map_gid] = prepare_permission(:gid, opts)
opts[:version] ||= 3
acc[key] = opts acc[key] = opts
acc acc

View File

@ -3,7 +3,6 @@ module Vagrant
class NFSConfig < Base class NFSConfig < Base
attr_accessor :map_uid attr_accessor :map_uid
attr_accessor :map_gid attr_accessor :map_gid
attr_accessor :version
end end
end end
end end