From 100f03011a03fe3b123012a31aefe7baf66ab757 Mon Sep 17 00:00:00 2001 From: Edward Dale Date: Mon, 15 Nov 2010 14:46:19 +0100 Subject: [PATCH] Fixed bug where multiple nfs shared folders not configured correctly on Linux http://github.com/mitchellh/vagrant/issues#issue/141 --- templates/nfs/exports_linux.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/nfs/exports_linux.erb b/templates/nfs/exports_linux.erb index 4566b0ca7..1224edeec 100644 --- a/templates/nfs/exports_linux.erb +++ b/templates/nfs/exports_linux.erb @@ -1,3 +1,5 @@ # VAGRANT-BEGIN: <%= uuid %> -<% folders.each do |name, opts| %><%= opts[:hostpath] %> <%= ip %>(rw,no_subtree_check,all_squash<% if opts[:map_uid] %>,anonuid=<%= opts[:map_uid] %><% end %><% if opts[:map_gid] %>,anongid=<%= opts[:map_gid] %><% end %>)<% end %> -# VAGRANT-END: <%= uuid %> \ No newline at end of file +<% folders.each do |name, opts| %> +<%= opts[:hostpath] %> <%= ip %>(rw,no_subtree_check,all_squash<% if opts[:map_uid] %>,anonuid=<%= opts[:map_uid] %><% end %><% if opts[:map_gid] %>,anongid=<%= opts[:map_gid] %><% end %>) +<% end %> +# VAGRANT-END: <%= uuid %>