From f9f59282f42b7ba71e39752a31d8fd64e4b1d316 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 15 Jul 2010 23:05:04 -0700 Subject: [PATCH] BSD exports template properly takes into effect mapped GID as well --- templates/nfs/exports.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nfs/exports.erb b/templates/nfs/exports.erb index e870e466c..0b4414708 100644 --- a/templates/nfs/exports.erb +++ b/templates/nfs/exports.erb @@ -1,3 +1,3 @@ # VAGRANT-BEGIN: <%= uuid %> -<% folders.each do |name, opts| %><%= opts[:hostpath] %> <%= ip %><% if opts[:map_uid] %> -mapall=<%= opts[:map_uid] %><% end %><% end %> +<% folders.each do |name, opts| %><%= opts[:hostpath] %> <%= ip %><% if opts[:map_uid] %> -mapall=<%= [opts[:map_uid],opts[:map_gid]].compact.join(":") %><% end %><% end %> # VAGRANT-END: <%= uuid %> \ No newline at end of file