Update nodemgmt-scripts.sh
This commit is contained in:
@@ -1414,7 +1414,7 @@ NODEUPDATE() {
|
|||||||
idsST=('')
|
idsST=('')
|
||||||
fi
|
fi
|
||||||
declare -i cw; declare -i spc1; declare -i c
|
declare -i cw; declare -i spc1; declare -i c
|
||||||
echo -e "${idsCL[LightGreen]}Updating All Nodes and Webservers${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Updating All Nodes${idsCL[Default]}"
|
||||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||||
nip=${MYSQLMANAGER}
|
nip=${MYSQLMANAGER}
|
||||||
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
|
if [[ $(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) == *"${nip}"* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user