diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ce85c5a4..726ccdbe 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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