nfs: Merge from parameterize branch
This commit is contained in:
parent
f619236878
commit
bd5ccf4211
3 changed files with 100 additions and 28 deletions
22
nfs/templates/nfs-kernel-server.erb
Normal file
22
nfs/templates/nfs-kernel-server.erb
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Number of servers to start up
|
||||
RPCNFSDCOUNT=<%= @servers %>
|
||||
|
||||
# Runtime priority of server (see nice(1))
|
||||
RPCNFSDPRIORITY=0
|
||||
|
||||
# Options for rpc.mountd.
|
||||
# If you have a port-based firewall, you might want to set up
|
||||
# a fixed port here using the --port option. For more information,
|
||||
# see rpc.mountd(8) or http://wiki.debian.org/SecuringNFS
|
||||
# To disable NFSv4 on the server, specify '--no-nfs-version 4' here
|
||||
RPCMOUNTDOPTS="--manage-gids --port 4002 <%= @disable_versions %>"
|
||||
|
||||
# Do you want to start the svcgssd daemon? It is only required for Kerberos
|
||||
# exports. Valid alternatives are "yes" and "no"; the default is "no".
|
||||
NEED_SVCGSSD=""
|
||||
|
||||
# Options for rpc.svcgssd.
|
||||
RPCSVCGSSDOPTS=""
|
||||
|
||||
# Options for rpc.nfsd.
|
||||
RPCNFSDOPTS="<%= @disable_versions %>"
|
Loading…
Add table
Add a link
Reference in a new issue