From db09b4c983d35bdb34f21557d9dd281c0c6be84a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 15 Feb 2020 22:51:35 -0500 Subject: [PATCH] Correct some ordering in build-and-deploy --- build-and-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-and-deploy.sh b/build-and-deploy.sh index d3c58e52..25fa4159 100755 --- a/build-and-deploy.sh +++ b/build-and-deploy.sh @@ -28,9 +28,9 @@ for HOST in ${HOSTS[@]}; do ssh $HOST $SUDO rm -rf /tmp/pvc ssh $HOST mkdir /tmp/pvc scp ../*.deb $HOST:/tmp/pvc/ - ssh $HOST $SUDO dpkg -i /tmp/pvc/*.deb - ssh $HOST $SUDO systemctl restart pvcnoded + ssh $HOST $SUDO dpkg -i /tmp/pvc/{pvc-client-cli,pvc-daemon-common,pvc-daemon-api,pvc-daemon-node}*.deb ssh $HOST rm -rf /tmp/pvc + ssh $HOST $SUDO systemctl restart pvcnoded echo "****" echo "Waiting 10s for host ${HOST} to stabilize" echo "****"