nfs: Merge from parameterize branch
This commit is contained in:
parent
f619236878
commit
bd5ccf4211
3 changed files with 100 additions and 28 deletions
|
@ -26,20 +26,20 @@ LOCKD_UDPPORT=4001
|
|||
# Turn off v2 and v3 protocol support
|
||||
#RPCNFSDARGS="-N 2 -N 3"
|
||||
# Turn off v4 protocol support
|
||||
RPCNFSDARGS="-N 4"
|
||||
RPCNFSDARGS="<%= @disable_versions %>"
|
||||
# Number of nfs server processes to be started.
|
||||
# The default is 8.
|
||||
RPCNFSDCOUNT=64
|
||||
RPCNFSDCOUNT=<%= @servers %>
|
||||
# Stop the nfsd module from being pre-loaded
|
||||
#NFSD_MODULE="noload"
|
||||
#
|
||||
#
|
||||
<% if @operatingsystem == 'Fedora' -%>
|
||||
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
|
||||
RPCMOUNTDOPTS="--no-nfs-version 4 -p 4002"
|
||||
RPCMOUNTDOPTS="<%= @disable_versions %> -p 4002"
|
||||
<% else -%>
|
||||
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
|
||||
RPCMOUNTDOPTS="--no-nfs-version 4"
|
||||
RPCMOUNTDOPTS="<%= @disable_versions %>"
|
||||
# Port rpc.mountd should listen on.
|
||||
MOUNTD_PORT=4002
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue