From 3eaf89a1db759987a374513b56b0a2e725b49fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 6 Jun 2012 12:05:54 +0300 Subject: [PATCH] Fixed rpc.mountd port on Fedora. --- nfs/templates/nfs.sysconfig.erb | 5 +++++ 1 file changed, 5 insertions(+) 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' -%>