update
This commit is contained in:
@@ -356,6 +356,7 @@ NODEUPDATES() {
|
||||
|
||||
# [ "${RUN_NODE_TYPE}" == "nm" ] && NMCMD="" || NMCMD="ssh -tq -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${NM_NODEMANAGER}"
|
||||
# betacheck=$(BETACHECK)
|
||||
#
|
||||
# if [ "${2}" != "sync" ]; then
|
||||
# c=0; spca=''; spc1=${cw}-25; until [ $c = ${spc1} ]; do spca="${spca} "; c=`expr $c + 1`; done
|
||||
# echo -en "Updating Node-Manager[${NM_NODEMANAGER}]${spca} ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : "
|
||||
|
||||
2
run.sh
2
run.sh
@@ -12,7 +12,7 @@ source /opt/idssys/nodemgmt/defaults.inc
|
||||
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
|
||||
if [ "${1}" == "update" ] || [ "${1}" == "update-nodes" ]; then
|
||||
if [ "${1}" == "update-nodes" ]; then
|
||||
echo -e "${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
|
||||
echo -e "\n${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||
fi
|
||||
if curl -m 3 -s --head --request GET https://git.schroedercity.com | grep "HTTP/2 200" > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user