From 1a9a202ec240551f603a07079ee0383bed46701e Mon Sep 17 00:00:00 2001 From: bhandarivijay Date: Fri, 9 Jan 2026 07:39:41 +0000 Subject: [PATCH] Migrate gsutil usage to gcloud storage --- compute/api/startup-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compute/api/startup-script.sh b/compute/api/startup-script.sh index 806779accf4..fda59f50b3e 100644 --- a/compute/api/startup-script.sh +++ b/compute/api/startup-script.sh @@ -30,8 +30,8 @@ wget $IMAGE_URL convert * -pointsize 30 -fill white -stroke black -gravity center -annotate +10+40 "$TEXT" output.png # Create a Google Cloud Storage bucket. -gsutil mb gs://$CS_BUCKET +gcloud storage buckets create gs://$CS_BUCKET # Store the image in the Google Cloud Storage bucket and allow all users # to read it. -gsutil cp -a public-read output.png gs://$CS_BUCKET/output.png +gcloud storage cp --predefined-acl=public-read output.png gs://$CS_BUCKET/output.png