Skip to content

Commit

Permalink
Misc fixes
Browse files Browse the repository at this point in the history
Signed-off-by: sougata-progress <[email protected]>
  • Loading branch information
sougata-progress committed Nov 13, 2024
1 parent a7c21ad commit 50cf350
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ start_minio() {
backup_minio_data
fi

sudo hab svc load "${BLDR_ORIGIN}/builder-minio" --channel $BLDR_CHANNEL --force
sudo hab svc load "${BLDR_ORIGIN}/builder-minio" --channel "stable" --force
sleep 10
bash ./minio-update.sh preflight_checks
if [ $? != 0 ]; then
Expand All @@ -227,6 +227,8 @@ start_minio() {
bash ./minio-update.sh download
sudo hab svc unload "${BLDR_ORIGIN}/builder-minio"
sleep 10
sudo rm -rf /hab/svc/builder-minio/data/
sudo rm -rf /hab/pkgs/habitat/builder-minio/
sudo hab svc load "${BLDR_ORIGIN}/builder-minio" --channel $BLDR_CHANNEL --force
sleep 10
bash ./minio-update.sh upload
Expand Down

0 comments on commit 50cf350

Please sign in to comment.