@@ -99,45 +99,45 @@ cleanup_old_logs() {
9999
100100# 1. Add the destination filename and the download URL.
101101declare -A IMAGE_URLS=(
102- [" Rocky-8-GenericCloud.latest.aarch64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/8/images/aarch64/Rocky-8-GenericCloud.latest.aarch64.qcow2"
103- [" Rocky-9-GenericCloud.latest.aarch64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/9/images/aarch64/Rocky-9-GenericCloud.latest.aarch64.qcow2"
104102 [" Rocky-9-GenericCloud.latest.x86_64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
103+ [" Rocky-9-GenericCloud.latest.aarch64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/9/images/aarch64/Rocky-9-GenericCloud.latest.aarch64.qcow2"
104+ [" Rocky-8-GenericCloud.latest.x86_64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2"
105+ [" Rocky-8-GenericCloud.latest.aarch64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/8/images/aarch64/Rocky-8-GenericCloud.latest.aarch64.qcow2"
105106 [" openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2" ]=" https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2"
106107 [" openSUSE-Leap-15.5-Minimal-VM.aarch64-Cloud.qcow2" ]=" https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.aarch64-Cloud.qcow2"
107108 [" debian-12-genericcloud-amd64.qcow2" ]=" https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
108109 [" debian-12-genericcloud-arm64.qcow2" ]=" https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-arm64.qcow2"
109110 [" ubuntu-24.04-server-cloudimg-amd64.img" ]=" https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img"
110- [" ubuntu-22.04-server-cloudimg-amd64.img" ]=" https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
111- [" ubuntu-20.04-server-cloudimg-amd64.img" ]=" https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
112111 [" ubuntu-24.04-server-cloudimg-arm64.img" ]=" https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img"
112+ [" ubuntu-22.04-server-cloudimg-amd64.img" ]=" https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img"
113113 [" ubuntu-22.04-server-cloudimg-arm64.img" ]=" https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img"
114+ [" ubuntu-20.04-server-cloudimg-amd64.img" ]=" https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img"
114115 [" ubuntu-20.04-server-cloudimg-arm64.img" ]=" https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img"
115116 [" OL9U5_x86_64-kvm-b259.qcow2" ]=" https://yum.oracle.com/templates/OracleLinux/OL9/u5/x86_64/OL9U5_x86_64-kvm-b259.qcow2"
116- [" OL8U10_x86_64-kvm-b258.qcow2" ]=" https://yum.oracle.com/templates/OracleLinux/OL8/u10/x86_64/OL8U10_x86_64-kvm-b258.qcow2"
117117 [" OL9U5_aarch64-kvm-b126.qcow2" ]=" https://yum.oracle.com/templates/OracleLinux/OL9/u5/aarch64/OL9U5_aarch64-kvm-b126.qcow2"
118+ [" OL8U10_x86_64-kvm-b258.qcow2" ]=" https://yum.oracle.com/templates/OracleLinux/OL8/u10/x86_64/OL8U10_x86_64-kvm-b258.qcow2"
118119 [" OL8U10_aarch64-kvm-b122.qcow2" ]=" https://yum.oracle.com/templates/OracleLinux/OL8/u10/aarch64/OL8U10_aarch64-kvm-b122.qcow2"
119- [" Rocky-8-GenericCloud.latest.x86_64.qcow2" ]=" https://dl.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud.latest.x86_64.qcow2"
120120)
121121
122122# 2. Add the destination filename and its corresponding distribution subdirectory name.
123123declare -A IMAGE_DISTROS=(
124- [" Rocky-8-GenericCloud.latest.aarch64.qcow2" ]=" rockylinux"
125- [" Rocky-8-GenericCloud.latest.x86_64.qcow2" ]=" rockylinux"
126- [" Rocky-9-GenericCloud.latest.aarch64.qcow2" ]=" rockylinux"
127124 [" Rocky-9-GenericCloud.latest.x86_64.qcow2" ]=" rockylinux"
125+ [" Rocky-9-GenericCloud.latest.aarch64.qcow2" ]=" rockylinux"
126+ [" Rocky-8-GenericCloud.latest.x86_64.qcow2" ]=" rockylinux"
127+ [" Rocky-8-GenericCloud.latest.aarch64.qcow2" ]=" rockylinux"
128128 [" openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2" ]=" opensuse"
129129 [" openSUSE-Leap-15.5-Minimal-VM.aarch64-Cloud.qcow2" ]=" opensuse"
130130 [" debian-12-genericcloud-amd64.qcow2" ]=" debian"
131131 [" debian-12-genericcloud-arm64.qcow2" ]=" debian"
132132 [" ubuntu-24.04-server-cloudimg-amd64.img" ]=" ubuntu"
133- [" ubuntu-22.04-server-cloudimg-amd64.img" ]=" ubuntu"
134- [" ubuntu-20.04-server-cloudimg-amd64.img" ]=" ubuntu"
135133 [" ubuntu-24.04-server-cloudimg-arm64.img" ]=" ubuntu"
134+ [" ubuntu-22.04-server-cloudimg-amd64.img" ]=" ubuntu"
136135 [" ubuntu-22.04-server-cloudimg-arm64.img" ]=" ubuntu"
136+ [" ubuntu-20.04-server-cloudimg-amd64.img" ]=" ubuntu"
137137 [" ubuntu-20.04-server-cloudimg-arm64.img" ]=" ubuntu"
138138 [" OL9U5_x86_64-kvm-b259.qcow2" ]=" oraclelinux"
139- [" OL8U10_x86_64-kvm-b258.qcow2" ]=" oraclelinux"
140139 [" OL9U5_aarch64-kvm-b126.qcow2" ]=" oraclelinux"
140+ [" OL8U10_x86_64-kvm-b258.qcow2" ]=" oraclelinux"
141141 [" OL8U10_aarch64-kvm-b122.qcow2" ]=" oraclelinux"
142142)
143143
0 commit comments