google compute builder documentation example code cleanup (#8551)
This commit is contained in:
parent
eab8f43151
commit
63cba2dc00
|
@ -45,8 +45,13 @@ scopes when launching the instance.
|
|||
For `gcloud`, do this via the `--scopes` parameter:
|
||||
|
||||
``` shell
|
||||
$ gcloud compute --project YOUR_PROJECT instances create "INSTANCE-NAME" ... \
|
||||
--scopes "https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/devstorage.full_control" \
|
||||
$ gcloud compute instances create INSTANCE-NAME \
|
||||
--project YOUR_GCP_PROJECT \
|
||||
--image-family ubuntu-1804-lts \
|
||||
--image-project gce-uefi-images \
|
||||
--network YOUR_GCP_NETWORK \
|
||||
--zone YOUR_GCP_ZONE \
|
||||
--scopes "https://www.googleapis.com/auth/compute,https://www.googleapis.com/auth/devstorage.full_control"
|
||||
```
|
||||
|
||||
For the [Google Developers Console](https://console.developers.google.com):
|
||||
|
|
Loading…
Reference in New Issue