Update nodemgmt-scripts.sh

This commit is contained in:
2023-06-21 21:32:26 -05:00
parent 96c0f84be2
commit 1f349a51a7

View File

@@ -516,7 +516,7 @@ SERVICE(){
echo -en "${idsCL[LightYellow]}Verifying nginx config and ssl cert replication across the nodes... ${idsCL[Default]}"
fi
if [[ "${MIP}" == *"${!NT_HOST}"* ]]; then
PH_CMD="ssh root@localhost"
PH_CMD=""
else
PH_CMD="ssh root@${!NT_HOST}"
fi