Update nodemgmt-scripts.sh

This commit is contained in:
2024-11-29 19:10:13 -06:00
parent 674b0edea4
commit ed9a119417

View File

@@ -413,7 +413,7 @@ NODEUPDATE(){
if [ "${nip}" != "100.100.2.1" ] && [ "${nip}" != "${NM_OFFSITE_GW_IP}" ] && [ ! -f ${NM_TMPFOLDER}/${nip}.down ] && [ "$(CHECK_HOST ${nip})" != "false" ]; then
if [ "${betacheck}" == "false" ]; then
if [ "${2}" != "sync" ]; then
echo
echo "" >> ${tmpfile}.running
# # [ ${noup} -eq 0 ] && echo -en " ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : " >> ${tmpfile}.running
# if [ "$(ssh -o BatchMode=yes -o ConnectTimeout=3 root@${nip} echo ok 2>&1)" != "ok" ]; then
# echo -e "${idsCL[Yellow]}[${nip}] New server, needs SSH credentials${idsCL[Default]}"