From c45e488958d492dc9dff2b021e893d1f61a8a77f Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 25 Aug 2024 15:57:07 -0400 Subject: [PATCH] Improve output of build-and-deploy --- build-and-deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index d9f09598..bdc201be 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -87,9 +87,10 @@ for HOST in ${HOSTS[@]}; do done echo " done." if [[ -n ${PRIMARY_NODE} && ${PRIMARY_NODE} == ${HOST} ]]; then - echo -n ">>> " - ssh $HOST pvc -q node primary --wait + echo -n ">>> Setting node $HOST to primary coordinator state... " + ssh $HOST pvc -q node primary --wait &>/dev/null ssh $HOST $SUDO systemctl restart pvcworkerd &>/dev/null + echo "done." fi done