From 3250b8265921e2558695674f933b14ba48abfe57 Mon Sep 17 00:00:00 2001 From: Joe Van Dyk Date: Tue, 17 Aug 2010 11:11:14 -0700 Subject: [PATCH] Fixed bug where multiple nfs shared folders not configured correctly http://github.com/mitchellh/vagrant/issues#issue/141 --- templates/nfs/exports.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/nfs/exports.erb b/templates/nfs/exports.erb index 0b4414708..9082e5487 100644 --- a/templates/nfs/exports.erb +++ b/templates/nfs/exports.erb @@ -1,3 +1,5 @@ # VAGRANT-BEGIN: <%= uuid %> -<% 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 +<% 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 %>