File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,21 @@ list of image URLs run:
52
52
53
53
gcloud compute images list --uri
54
54
55
+ Google Compute Engine supports [ image families] ( https://cloud.google.com/compute/docs/images#image_families ) .
56
+ An image family is like an image alias that always points to the latest image in the family. To create an
57
+ instance from an image family, set ` --google-machine-image ` to the family's URL.
58
+
59
+ The following command will show images and which family they belong to (if any):
60
+
61
+ gcloud compute images list
62
+
63
+ To obtain a family URL, replace ` <PROJECT> ` and ` <FAMILY> ` in the following template.
64
+
65
+ https://www.googleapis.com/compute/v1/projects/<PROJECT>/global/images/family/<FAMILY>
66
+
67
+ For example, to create an instance from the latest Ubuntu 16 LTS image, specify
68
+ ` https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/family/ubuntu-1604-lts ` .
69
+
55
70
#### Environment variables and default values
56
71
57
72
| CLI option | Environment variable | Default |
@@ -68,4 +83,4 @@ list of image URLs run:
68
83
| ` --google-preemptible ` | ` GOOGLE_PREEMPTIBLE ` | - |
69
84
| ` --google-tags ` | ` GOOGLE_TAGS ` | - |
70
85
| ` --google-use-internal-ip ` | ` GOOGLE_USE_INTERNAL_IP ` | - |
71
- | ` --google-use-existing ` | ` GOOGLE_USE_EXISTING ` | - |
86
+ | ` --google-use-existing ` | ` GOOGLE_USE_EXISTING ` | - |
You can’t perform that action at this time.
0 commit comments