From 3047b81256e636157cf4a9d8f496cd712e4ac5e2 Mon Sep 17 00:00:00 2001 From: rimckenn Date: Fri, 1 Nov 2013 14:44:49 +0000 Subject: [PATCH] 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. --- plugins/hosts/bsd/host.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hosts/bsd/host.rb b/plugins/hosts/bsd/host.rb index c31b3e6ea..2fefd17fd 100644 --- a/plugins/hosts/bsd/host.rb +++ b/plugins/hosts/bsd/host.rb @@ -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