Formatted the default value and cleaned some trailing spaces.

This commit is contained in:
Rickard von Essen 2016-10-22 21:06:07 +02:00
parent 283d3e5758
commit dd89aa7243
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA
1 changed files with 10 additions and 5 deletions

View File

@ -172,10 +172,15 @@ builder.
to the region hosting the specified `zone`. to the region hosting the specified `zone`.
- `scopes` (array of strings) - The service account scopes for launched instance. - `scopes` (array of strings) - The service account scopes for launched instance.
Defaults to Defaults to:
`["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.full_control"]`.
- `source_image_project_id` (string) - The project ID of the ``` {.json}
[ "https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.full_control" ]
```
- `source_image_project_id` (string) - The project ID of the
project containing the source image. project containing the source image.
- `startup_script_file` (string) - The filepath to a startup script to run on - `startup_script_file` (string) - The filepath to a startup script to run on
@ -194,10 +199,10 @@ builder.
- `use_internal_ip` (boolean) - If true, use the instance's internal IP - `use_internal_ip` (boolean) - If true, use the instance's internal IP
instead of its external IP during building. instead of its external IP during building.
## Startup Scripts ## Startup Scripts
Startup scripts can be a powerful tool for configuring the instance from which the image is made. Startup scripts can be a powerful tool for configuring the instance from which the image is made.
The builder will wait for a startup script to terminate. A startup script can be provided via the The builder will wait for a startup script to terminate. A startup script can be provided via the
`startup_script_file` or 'startup-script' instance creation `metadata` field. Therefore, the build `startup_script_file` or 'startup-script' instance creation `metadata` field. Therefore, the build
time will vary depending on the duration of the startup script. If `startup_script_file` is set, time will vary depending on the duration of the startup script. If `startup_script_file` is set,