Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user