Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1162,6 +1162,7 @@ SETUPSSH(){
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
SKIP_SERVER_CHECKS(){
|
||||
if [ ! -f ${NM_TMPFOLDER}/.skip ]; then
|
||||
touch ${NM_TMPFOLDER}/.skip
|
||||
@@ -1170,7 +1171,9 @@ SKIP_SERVER_CHECKS(){
|
||||
rm -f ${NM_TMPFOLDER}/.skip
|
||||
echo -e "${idsCL[Green]}Server has been re-enabled for Node-Manager Status Checks ...${idsCL[Default]}"
|
||||
fi
|
||||
echo
|
||||
}
|
||||
|
||||
SETUPSSH_BACK(){
|
||||
echo -en "\n${idsCL[LightCyan]}Checking for Public SSH Key back to Node-Manager ... ${idsCL[Default]}"
|
||||
if [ "$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@10.10.10.60 echo ok 2>&1)" == "ok" ]; then
|
||||
|
||||
Reference in New Issue
Block a user