Fixed bug where multiple nfs shared folders not configured correctly

on Linux

http://github.com/mitchellh/vagrant/issues#issue/141
This commit is contained in:
Edward Dale 2010-11-15 14:46:19 +01:00 committed by Mitchell Hashimoto
parent e83260662e
commit 100f03011a
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
# VAGRANT-BEGIN: <%= uuid %> # 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 %> <% 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 %> # VAGRANT-END: <%= uuid %>