From 0b56f974fc38d32819bde0013a32b5b6e399d897 Mon Sep 17 00:00:00 2001 From: gurusai-voleti Date: Fri, 23 Jan 2026 08:13:36 +0000 Subject: [PATCH] chore: Migrate gsutil usage to gcloud storage --- samples/compute/startup-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/compute/startup-script.sh b/samples/compute/startup-script.sh index 5e59b2d0b86..5a202a6fdf4 100644 --- a/samples/compute/startup-script.sh +++ b/samples/compute/startup-script.sh @@ -31,10 +31,10 @@ 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 # [END compute_apiary_startup_script]