Add comments to build-and-deploy.sh

This commit is contained in:
Joshua Boniface 2020-08-11 12:10:28 -04:00
parent 0e5c681ada
commit 37b23c0e59
1 changed files with 2 additions and 0 deletions

View File

@ -28,8 +28,10 @@ for HOST in ${HOSTS[@]}; do
ssh $HOST $SUDO rm -rf /tmp/pvc
ssh $HOST mkdir /tmp/pvc
scp ../*.deb $HOST:/tmp/pvc/
echo "Installing packages..."
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
echo "Restarting PVC node daemon..."
ssh $HOST $SUDO systemctl restart pvcnoded
echo "****"
echo "Waiting 15s for host ${HOST} to stabilize"