We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b39e4b0 commit 2b9436aCopy full SHA for 2b9436a
src/middlewared/middlewared/etc_files/rc.conf.py
@@ -201,6 +201,7 @@ def nfs_config(middleware, context):
201
yield f'rpcbind_flags="{" ".join(ips)}"'
202
203
yield f'nfs_server_flags="{" ".join(nfs_server_flags)}"'
204
+ yield 'nfs_reserved_port_only="{}"'.format('NO' if nfs['allow_nonroot'] else 'YES')
205
yield f'rpc_statd_flags="{" ".join(statd_flags)}"'
206
yield f'rpc_lockd_flags="{" ".join(lockd_flags)}"'
207
yield f'mountd_flags="{" ".join(mountd_flags)}"'
0 commit comments