mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-20 21:20:36 +00:00
On RHEL8 do not user vers=3 when mounting kdump filesystem
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user