This commit is contained in:
2022-11-26 18:12:18 -06:00
parent e2af671876
commit cd0b5969ee
2 changed files with 2 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ FOLDER=/opt/idssys/nodemgmt
SCRIPT=${FOLDER}/nodemgmt-scripts.sh
RENOTIFY=900
declare -A NM_HOSTNAMES
NM_HOSTNAMES['10.10.1.121']='Webserver-Node1'
NM_HOSTNAMES['10.10.1.122']='Webserver-Node2'

View File

@@ -1708,6 +1708,7 @@ SERVICE(){
unset IFS
sethost=false
fi
for nip in "${var2[@]}"; do
# if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${3}"* ]]; then GO=true;
# elif [ ! -z ${3+x} ] || [ "${3}" == "q" ]; then GO=true;