From 608194cf2a55da1ba13c4920f15936be16abbff8 Mon Sep 17 00:00:00 2001
From: EnDjee <matteo.difazio@garr.it>
Date: Mon, 28 Aug 2023 09:29:41 +0000
Subject: [PATCH] update centos 8,9 stream URLs, delete fedora36, add fedora38,
 add debian 12

---
 config.yml       | 39 ++++++++++++++++++++++++++++-----------
 requirements.txt |  1 +
 2 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/config.yml b/config.yml
index 1ba9fa1..cbcaf72 100644
--- a/config.yml
+++ b/config.yml
@@ -1,7 +1,7 @@
 images:
   centos8stream:
     name: CentOS Stream 8 - GARR
-    url: https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20220125.1.x86_64.qcow2
+    url: https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-latest.x86_64.qcow2
     disk_format: qcow2
     extraargs:
     - "min_disk=5"
@@ -18,7 +18,7 @@ images:
 
   centos9stream:
     name: CentOS Stream 9 - GARR
-    url: https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20210830.0.x86_64.qcow2
+    url: https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2
     disk_format: qcow2
     extraargs:
     - "min_disk=5"
@@ -35,7 +35,7 @@ images:
 
   rockylinux8:
     name: RockyLinux-8 - GARR
-    url: https://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
+    url: https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2
     disk_format: qcow2
     extraargs:
     - "min_disk=5"
@@ -101,26 +101,26 @@ images:
     - "hw_vif_multiqueue_enabled=true"
     - "hw_rng_model=virtio"
 
-  fedora36:
-    name: Fedora 36 - GARR
-    url: http://fedora.mirror.garr.it/fedora/linux/releases/36/Cloud/aarch64/images/Fedora-Cloud-Base-36-1.5.aarch64.qcow2
+  debian12:
+    name: Debian 12 - GARR
+    url: https://cdimage.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
     disk_format: qcow2
     extraargs:
     - "min_disk=5"
     - "min_ram=1024"
     tags:
-    - "os_distro=fedora"
+    - "os_distro=debian"
     - "os_type=linux"
-    - "os_version=36"
-    - "architecture=x86_64"
+    - "os_version=12"
+    - "architecture=amd64"
     - "os_require_quiesce=yes"
     - "hw_qemu_guest_agent=yes"
     - "hw_vif_multiqueue_enabled=true"
-    - "hw_rng_model=virtio"
+    - "hw_rng_model=virtio"    
   
   fedora37:
     name: Fedora 37 - GARR
-    url: http://fedora.mirror.garr.it/fedora/linux/releases/37/Cloud/aarch64/images/Fedora-Cloud-Base-37-1.7.aarch64.qcow2
+    url: https://fedora.mirror.garr.it/fedora/linux/releases/37/Cloud/aarch64/images/Fedora-Cloud-Base-37-1.7.aarch64.qcow2
     disk_format: qcow2
     extraargs:
     - "min_disk=5"
@@ -135,6 +135,23 @@ images:
     - "hw_vif_multiqueue_enabled=true"
     - "hw_rng_model=virtio"
 
+  fedora38:
+    name: Fedora 38 - GARR
+    url: https://fedora.mirror.garr.it/fedora/linux/releases/38/Cloud/aarch64/images/Fedora-Cloud-Base-38-1.6.aarch64.qcow2
+    disk_format: qcow2
+    extraargs:
+    - "min_disk=5"
+    - "min_ram=1024"
+    tags:
+    - "os_distro=fedora"
+    - "os_type=linux"
+    - "os_version=38"
+    - "architecture=x86_64"
+    - "os_require_quiesce=yes"
+    - "hw_qemu_guest_agent=yes"
+    - "hw_vif_multiqueue_enabled=true"
+    - "hw_rng_model=virtio"
+
   ubuntu-18.04:
     name: Ubuntu 18.04 - GARR
     url: http://cloud-images.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-cloudimg-amd64.img
diff --git a/requirements.txt b/requirements.txt
index 335a346..ed13cb0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,3 +4,4 @@ shade
 tqdm
 python-openstackclient
 pyyaml
+munch
-- 
GitLab