Update nodemgmt-scripts.sh

This commit is contained in:
2019-01-29 23:19:47 -06:00
parent 57e9ea5ca6
commit 1e6bd67a9d

View File

@@ -143,7 +143,7 @@ case "$1" in
IFS=,; SERVICES2=(${SERVICES1}); HOSTS2=(${HOSTS1}); unset IFS
nid=1
for nip in "${$(/sbin/ip -o -4 addr list ens192 | awk '{print $4}' | cut -d/ -f1)[@]}"
for nip in "${NODE_HOSTS[@]}"
do
if [ -z ${LOCAL_SERVICES+x} ]; then
SERVICES1=$( IFS=$','; echo "${NODE_SERVICES[*]}" )