We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6b55b6 commit a82af07Copy full SHA for a82af07
1 file changed
samples/compute/startup-script.sh
@@ -31,10 +31,10 @@ wget $IMAGE_URL
31
convert * -pointsize 30 -fill white -stroke black -gravity center -annotate +10+40 "$TEXT" output.png
32
33
# Create a Google Cloud Storage bucket.
34
-gsutil mb gs://$CS_BUCKET
+gcloud storage buckets create gs://$CS_BUCKET
35
36
# Store the image in the Google Cloud Storage bucket and allow all users
37
# to read it.
38
-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
39
40
# [END compute_apiary_startup_script]
0 commit comments