We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cca486 commit 231da32Copy full SHA for 231da32
1 file changed
compute/api/startup-script.sh
@@ -30,8 +30,8 @@ wget $IMAGE_URL
30
convert * -pointsize 30 -fill white -stroke black -gravity center -annotate +10+40 "$TEXT" output.png
31
32
# Create a Google Cloud Storage bucket.
33
-gsutil mb gs://$CS_BUCKET
+gcloud storage buckets create gs://$CS_BUCKET
34
35
# Store the image in the Google Cloud Storage bucket and allow all users
36
# to read it.
37
-gsutil cp -a public-read output.png gs://$CS_BUCKET/output.png
+gcloud storage cp --predefined-acl=publicRead output.png gs://$CS_BUCKET/output.png
0 commit comments