Fixed bug where multiple nfs shared folders not configured correctly

http://github.com/mitchellh/vagrant/issues#issue/141
This commit is contained in:
Joe Van Dyk 2010-08-17 11:11:14 -07:00 committed by Mitchell Hashimoto
parent 3c225ee768
commit 3250b82659
1 changed files with 4 additions and 2 deletions

View File

@ -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 %>
<% 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 %>