Fix some issues with NFS version selecting
This commit is contained in:
parent
3033b634b1
commit
3a8c44301b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue