2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-21 05:25:32 +00:00

On RHEL8 do not user vers=3 when mounting kdump filesystem

This commit is contained in:
Mark Gurevich
2020-08-06 15:16:38 -04:00
parent fa1b49799a
commit 33ba96f43b

View File

@ -217,6 +217,10 @@ EOF
for i in $nfsvers
do
if [ $i -eq 3 ] && ! [ grep -w nfs /proc/filesystems >/dev/null 2>&1 ]; then
if (pmatch $OSVER "rhel8*") || (pmatch $OSVER "rhels8*");then
# For RHEL8 do not mount with vers=3 option
continue
fi
nfsver=3
break
elif [ $i -eq 4 ] && ! [ grep -w nfs4 /proc/filesystems >/dev/null 2>&1 ]; then