From 0db7684428d04dc8b5c24905ca3ff52ec6e63bd9 Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Thu, 15 Sep 2022 13:13:51 +0200
Subject: [PATCH] Update to latest CentOS Stream 8 cloud image

Change-Id: I4c3afb71600781dffe8072303d775cbfad16cbac
---
 ansible/inventory/group_vars/all/infra-vms                   | 4 ++--
 ansible/inventory/group_vars/all/seed-vm                     | 4 ++--
 etc/kayobe/infra-vms.yml                                     | 2 +-
 etc/kayobe/seed-vm.yml                                       | 2 +-
 .../update-centos-cloud-image-20220913-4862bfdc89f8de3a.yaml | 5 +++++
 5 files changed, 11 insertions(+), 6 deletions(-)
 create mode 100644 releasenotes/notes/update-centos-cloud-image-20220913-4862bfdc89f8de3a.yaml

diff --git a/ansible/inventory/group_vars/all/infra-vms b/ansible/inventory/group_vars/all/infra-vms
index 808f5a6a..745347f8 100644
--- a/ansible/inventory/group_vars/all/infra-vms
+++ b/ansible/inventory/group_vars/all/infra-vms
@@ -46,7 +46,7 @@ infra_vm_root_format: qcow2
 # https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
 # when os_distribution is "rocky",
 # or
-# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
+# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2"
 # otherwise.
 infra_vm_root_image: >-
   {%- if os_distribution == 'ubuntu' %}
@@ -54,7 +54,7 @@ infra_vm_root_image: >-
   {%- elif os_distribution == 'rocky' %}
   https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
   {%- else -%}
-  https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2
+  https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2
   {%- endif %}
 
 # Capacity of the infra VM data volume.
diff --git a/ansible/inventory/group_vars/all/seed-vm b/ansible/inventory/group_vars/all/seed-vm
index c944afda..0752ce1f 100644
--- a/ansible/inventory/group_vars/all/seed-vm
+++ b/ansible/inventory/group_vars/all/seed-vm
@@ -46,7 +46,7 @@ seed_vm_root_format: qcow2
 # https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
 # when os_distribution is "rocky",
 # or
-# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
+# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2"
 # otherwise.
 seed_vm_root_image: >-
   {%- if os_distribution == 'ubuntu' %}
@@ -54,7 +54,7 @@ seed_vm_root_image: >-
   {%- elif os_distribution == 'rocky' %}
   https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
   {%- else -%}
-  https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2
+  https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2
   {%- endif %}
 
 # Capacity of the seed VM data volume.
diff --git a/etc/kayobe/infra-vms.yml b/etc/kayobe/infra-vms.yml
index b6cea030..904bd3e0 100644
--- a/etc/kayobe/infra-vms.yml
+++ b/etc/kayobe/infra-vms.yml
@@ -35,7 +35,7 @@
 # https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
 # when os_distribution is "rocky",
 # or
-# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
+# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2"
 # otherwise.
 #infra_vm_root_image:
 
diff --git a/etc/kayobe/seed-vm.yml b/etc/kayobe/seed-vm.yml
index 113d07f3..0201cbee 100644
--- a/etc/kayobe/seed-vm.yml
+++ b/etc/kayobe/seed-vm.yml
@@ -29,7 +29,7 @@
 # https://dl.rockylinux.org/pub/rocky/8/images/Rocky-8-GenericCloud.latest.x86_64.qcow2
 # when os_distribution is "rocky",
 # or
-# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2"
+# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220913.0.x86_64.qcow2"
 # otherwise.
 #seed_vm_root_image:
 
diff --git a/releasenotes/notes/update-centos-cloud-image-20220913-4862bfdc89f8de3a.yaml b/releasenotes/notes/update-centos-cloud-image-20220913-4862bfdc89f8de3a.yaml
new file mode 100644
index 00000000..57a386c4
--- /dev/null
+++ b/releasenotes/notes/update-centos-cloud-image-20220913-4862bfdc89f8de3a.yaml
@@ -0,0 +1,5 @@
+---
+features:
+  - |
+    Updates base CentOS Stream 8 cloud image to
+    CentOS-Stream-GenericCloud-8-20220913.0.x86_64.
-- 
GitLab