Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-07 18:37:28 -06:00
parent 9a296a5f15
commit 97e110627e

View File

@@ -31,6 +31,7 @@ STATUS() {
then NHCMD='ssh root@10.5.10.51'
else NHCMD=''
fi
echo "HERE: ${NHCMD}"
# for nip in "${NODE_HOSTS[@]}"; do
# if [ "${nip}" = '10.5.10.51' ] && [ ! -z ${LOCAL_SERVICES+x} ]; then isreplhost=true; else isreplhost=false; fi
# if [[ $(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1) != *"${nip}"* ]] && [ "${isreplhost}" = "false" ]; then