diff --git a/nfs/templates/nfs.sysconfig.erb b/nfs/templates/nfs.sysconfig.erb index 7741d44..462404a 100644 --- a/nfs/templates/nfs.sysconfig.erb +++ b/nfs/templates/nfs.sysconfig.erb @@ -34,10 +34,15 @@ RPCNFSDCOUNT=64 #NFSD_MODULE="noload" # # +<% if @operatingsystem == 'Fedora' -%> +# Optional arguments passed to rpc.mountd. See rpc.mountd(8) +RPCMOUNTDOPTS="--no-nfs-version 4 -p 4002" +<% else -%> # Optional arguments passed to rpc.mountd. See rpc.mountd(8) RPCMOUNTDOPTS="--no-nfs-version 4" # Port rpc.mountd should listen on. MOUNTD_PORT=4002 +<% end -%> # # <% if @operatingsystem == 'Fedora' -%>