Merge pull request #10909 from briancain/fixup-bsd-nfs-exports
Fixes #10609: Properly set BSD options for /etc/exports
This commit is contained in:
commit
c3a96ace35
|
@ -120,7 +120,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.nfs_exports_template(environment)
|
def self.nfs_exports_template(environment)
|
||||||
"nfs/exports"
|
"nfs/exports_bsd"
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.nfs_installed(environment)
|
def self.nfs_installed(environment)
|
||||||
|
|
|
@ -19,7 +19,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.nfs_exports_template(environment)
|
def self.nfs_exports_template(environment)
|
||||||
"nfs/exports_freebsd"
|
"nfs/exports_bsd"
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.nfs_restart_command(environment)
|
def self.nfs_restart_command(environment)
|
||||||
|
|
|
@ -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 %>
|
|
Loading…
Reference in New Issue