Merge pull request #10909 from briancain/fixup-bsd-nfs-exports

Fixes #10609: Properly set BSD options for /etc/exports
This commit is contained in:
Brian Cain 2019-06-17 08:21:29 -07:00 committed by GitHub
commit c3a96ace35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 7 deletions

View File

@ -120,7 +120,7 @@ module VagrantPlugins
end
def self.nfs_exports_template(environment)
"nfs/exports"
"nfs/exports_bsd"
end
def self.nfs_installed(environment)

View File

@ -19,7 +19,7 @@ module VagrantPlugins
end
def self.nfs_exports_template(environment)
"nfs/exports_freebsd"
"nfs/exports_bsd"
end
def self.nfs_restart_command(environment)

View File

@ -1,5 +0,0 @@
# VAGRANT-BEGIN: <%= user %> <%= uuid %>
<% folders.each do |dirs, opts| %>
<%= dirs.map { |d| "\"#{d}\"" }.join(" ") %> <%= ips.join(" ") %> <%=opts[:bsd__compiled_nfs_options] %>
<% end %>
# VAGRANT-END: <%= user %> <%= uuid %>