Update nodemgmt-scripts.sh

This commit is contained in:
2019-11-24 17:01:20 -06:00
parent 86fa741d58
commit f7c07210d8

View File

@@ -1412,7 +1412,7 @@ NODEUPDATE() {
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
nip=${MYSQLMANAGER}
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
nip='localhost '
nip='localhost'
fi
c=0; cw=15; spca=''
spc1=${cw}-7