Update host.rb

mapall= and maproot= are mutually exclusive options. Currently, when trying to use maproot=, mapall= is getting automatically added, which prevents us from using the NFS mount. This change turns off the adding of mapall= if maproot= has been specified as an option.
This commit is contained in:
rimckenn 2013-11-01 14:44:49 +00:00
parent a92e03cf4c
commit 3047b81256
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ module VagrantPlugins
hasmapall = false
opts[:bsd__nfs_options].each do |opt|
if opt =~ /^mapall=/
if opt =~ /^mapall=/ || opt =~ /^maproot=/
hasmapall = true
break
end