File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,15 @@ function create_vm {
94
94
# Check if image was already created.
95
95
# Images are not zone specific, but the disk is.
96
96
if ! gcloud compute images describe " $imagename " --project " $GCP_PROJECT " > /dev/null; then
97
- # Create the base disk image based on the public Ubuntu 20 .04 LTS cloud image
97
+ # Create the base disk image based on the public Ubuntu 22 .04 LTS cloud image
98
98
# Note that this has also been verified to work with CentOS 8 as of
99
99
# 2021-01-12, but this is not tested regularly.
100
100
# To use CentOS 8:
101
101
# --image-project centos-cloud --image-family centos-stream-8
102
102
if ! gcloud compute disks describe " $diskname " --project " $GCP_PROJECT " --zone " $GCP_ZONE " > /dev/null; then
103
103
gcloud compute disks create " $diskname " \
104
104
--project " $GCP_PROJECT " \
105
- --image-project ubuntu-os-cloud --image-family ubuntu-2004 -lts \
105
+ --image-project ubuntu-os-cloud --image-family ubuntu-2204 -lts \
106
106
--zone " $GCP_ZONE "
107
107
fi
108
108
gcloud compute images create " $imagename " \
You can’t perform that action at this time.
0 commit comments