2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-27 16:35:35 +00:00

Merge pull request #6796 from gurevichmark/enablekdump_post

On RHEL8 do not use vers=3 when mounting kdump filesystem
This commit is contained in:
cxhong
2020-08-07 10:48:43 -04:00
committed by GitHub

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