Include hh:mm in image name

This commit is contained in:
Michael Vines
2018-07-09 23:07:07 -06:00
parent 227aa38c8a
commit 0a34cb8023

View File

@ -33,12 +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 4. From another machine, `gcloud auth login`, then create a new Disk Image based
off the modified VM Instance: off the modified VM Instance:
``` ```
$ gcloud compute images create ci-default-$(date +%Y%m%d) --source-disk xxx --source-disk-zone us-east1-b --family ci-default $ gcloud compute images create ci-default-$(date +%Y%m%d%H%M) --source-disk xxx --source-disk-zone us-east1-b --family ci-default
``` ```
or or
``` ```
$ gcloud compute images create ci-cuda-$(date +%Y%m%d) --source-disk xxx --source-disk-zone us-east1-b --family ci-cuda $ gcloud compute images create ci-cuda-$(date +%Y%m%d%H%M) --source-disk xxx --source-disk-zone us-east1-b --family ci-cuda
``` ```
5. Delete the new VM instance. 5. Delete the new VM instance.
6. Go to the Instance templates tab, find the existing template named 6. Go to the Instance templates tab, find the existing template named