diff --git a/xCAT-rmc/scripts/configrmcnode b/xCAT-rmc/scripts/configrmcnode index 875a2e407..20ad92476 100755 --- a/xCAT-rmc/scripts/configrmcnode +++ b/xCAT-rmc/scripts/configrmcnode @@ -202,7 +202,11 @@ if [ $ADD -eq 1 ]; then rm -rf $NFSSERVER else mkdir -p /xcatmnt - result=`mount $NFSSERVER:/install/postscripts /xcatmnt` + if [[ $USENFSV4ONAIX = yes ]] || [[ $USENFSV4ONAIX = 1 ]] || [[ $USENFSV4ONAIX = Yes ]] || [[ $USENFSV4ONAIX = YES ]] || [[ $USENFSV4ONAIX = Y ]] || [[ $USENFSV4ONAIX = y ]]; then + result=`mount -o vers=4 $NFSSERVER:/install/postscripts /xcatmnt` + else + result=`mount $NFSSERVER:/install/postscripts /xcatmnt` + fi if [ $? -gt 0 ]; then echo "Failed to mount:$result" logger -t xCAT "Failed to mount $result"