From 227aa38c8a162a482e0e4919c37005b98c9fdc82 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 9 Jul 2018 23:02:46 -0600 Subject: [PATCH] Add image --family arg --- ci/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/README.md b/ci/README.md index 0e44ef8a66..998662a1be 100644 --- a/ci/README.md +++ b/ci/README.md @@ -33,11 +33,12 @@ The process to update a disk image is as follows (TODO: make this less manual): 4. From another machine, `gcloud auth login`, then create a new Disk Image based off the modified VM Instance: ``` - $ gcloud compute images create ci-default-v5 --source-disk xxx --source-disk-zone us-east1-b + $ gcloud compute images create ci-default-$(date +%Y%m%d) --source-disk xxx --source-disk-zone us-east1-b --family ci-default + ``` or ``` - $ gcloud compute images create ci-cuda-v5 --source-disk xxx --source-disk-zone us-east1-b + $ gcloud compute images create ci-cuda-$(date +%Y%m%d) --source-disk xxx --source-disk-zone us-east1-b --family ci-cuda ``` 5. Delete the new VM instance. 6. Go to the Instance templates tab, find the existing template named