From 376c6509fe3cc67f2ace39156d3e18a0b18165a7 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Mon, 23 Nov 2026 17:50:35 +0100 Subject: [PATCH 1/3] systemvmtemplate: bump to Debian 12.15.0 Use the Debian 12.15.0 netinst ISOs (amd64 and arm64) and their SHA-512 checksums. --- .../template-base_aarch64-target_aarch64.json | 4 ++-- .../systemvmtemplate/template-base_x86_64-target_aarch64.json | 4 ++-- .../systemvmtemplate/template-base_x86_64-target_x86_64.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json b/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json index f15552ca5cc4..01f08a6d1be4 100644 --- a/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json +++ b/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json @@ -32,8 +32,8 @@ "format": "qcow2", "headless": true, "http_directory": "http", - "iso_checksum": "sha512:55ab206cd8b0da2898767c3eb6ab5ebef101e3925ec91b3b5f0a286136195b7072588f6ac2d059c545c6938978704ae78cd18d7d9d2a86a7380e46ce27ee4e7b", - "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.12.0/arm64/iso-cd/debian-12.12.0-arm64-netinst.iso", + "iso_checksum": "sha512:324850e5b7f55ed60005cb1373667eac712bcc87461218c1eccdce7f71e26169e3357108d7437134bb51d45c0f79541e32329c72018a9498c873c8c2c2743711", + "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.15.0/arm64/iso-cd/debian-12.15.0-arm64-netinst.iso", "net_device": "virtio-net", "output_directory": "../dist", "qemu_binary": "qemu-system-aarch64", diff --git a/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json b/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json index c16bf1fb2a29..93c48cdf7313 100644 --- a/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json +++ b/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json @@ -31,8 +31,8 @@ "format": "qcow2", "headless": true, "http_directory": "http", - "iso_checksum": "sha512:55ab206cd8b0da2898767c3eb6ab5ebef101e3925ec91b3b5f0a286136195b7072588f6ac2d059c545c6938978704ae78cd18d7d9d2a86a7380e46ce27ee4e7b", - "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.12.0/arm64/iso-cd/debian-12.12.0-arm64-netinst.iso", + "iso_checksum": "sha512:324850e5b7f55ed60005cb1373667eac712bcc87461218c1eccdce7f71e26169e3357108d7437134bb51d45c0f79541e32329c72018a9498c873c8c2c2743711", + "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.15.0/arm64/iso-cd/debian-12.15.0-arm64-netinst.iso", "net_device": "virtio-net", "output_directory": "../dist", "qemu_binary": "qemu-system-aarch64", diff --git a/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json b/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json index 941eea9dcd7b..924fbf6bc405 100644 --- a/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json +++ b/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json @@ -27,8 +27,8 @@ "format": "qcow2", "headless": true, "http_directory": "http", - "iso_checksum": "sha512:c93055182057dd19a334260671c7e10880541b7721ad9c8df87be47e0a11d5bbf85018350ff224ff6a5f6a68320b07e95d539cef9dc020c93966bfaa86d4b2ce", - "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.12.0/amd64/iso-cd/debian-12.12.0-amd64-netinst.iso", + "iso_checksum": "sha512:23257fab924026eea247fe5318ca904c0ac51c19d3f3d5123b6ca31d0ac65eaf5f9a87b206873a16d04239dc1a78a3608acaccc529ab4a0f55e856379ba161e7", + "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/12.15.0/amd64/iso-cd/debian-12.15.0-amd64-netinst.iso", "net_device": "virtio-net", "output_directory": "../dist", "qemuargs": [ From 534774aa853e152fc128d366a5f1a15a6339b3d6 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Mon, 23 Nov 2026 19:01:04 +0100 Subject: [PATCH 2/3] systemvmtemplate: bump systemvm template version to 4.22.2.0 --- pom.xml | 2 +- .../systemvmtemplate/scripts/configure_systemvm_services.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1c7ae233d789..1a2e46ec725b 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ UTF-8 UTF-8 https://download.cloudstack.org/systemvm - 4.22.0.0 + 4.22.2.0 apache https://sonarcloud.io diff --git a/tools/appliance/systemvmtemplate/scripts/configure_systemvm_services.sh b/tools/appliance/systemvmtemplate/scripts/configure_systemvm_services.sh index 8bc71d29c1c0..c88c2265079f 100755 --- a/tools/appliance/systemvmtemplate/scripts/configure_systemvm_services.sh +++ b/tools/appliance/systemvmtemplate/scripts/configure_systemvm_services.sh @@ -19,7 +19,7 @@ set -e set -x -CLOUDSTACK_RELEASE=4.22.0 +CLOUDSTACK_RELEASE=4.22.2 function configure_apache2() { # Enable ssl, rewrite and auth From 9df7e06bd4246dcf0738c47184a97462be37bfb4 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Tue, 24 Nov 2026 08:11:02 +0100 Subject: [PATCH 3/3] systemvmtemplate: give the build VMs 1024M RAM and 2 vCPUs The kernel package installation could get stuck in the 500M, single-vCPU build VM. --- .../template-base_aarch64-target_aarch64.json | 4 ++-- .../systemvmtemplate/template-base_x86_64-target_aarch64.json | 4 ++-- .../systemvmtemplate/template-base_x86_64-target_x86_64.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json b/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json index 01f08a6d1be4..f2000da04c33 100644 --- a/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json +++ b/tools/appliance/systemvmtemplate/template-base_aarch64-target_aarch64.json @@ -40,7 +40,7 @@ "qemuargs": [ [ "-m", - "500M" + "1024M" ], [ "-machine", @@ -52,7 +52,7 @@ ], [ "-smp", - "1" + "2" ], [ "-pflash", "/usr/share/AAVMF/AAVMF_CODE.fd" ], [ "-monitor", "none" ], diff --git a/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json b/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json index 93c48cdf7313..6818735d4b49 100644 --- a/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json +++ b/tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json @@ -39,7 +39,7 @@ "qemuargs": [ [ "-m", - "500M" + "1024M" ], [ "-machine", @@ -51,7 +51,7 @@ ], [ "-smp", - "1" + "2" ], [ "-bios", "/usr/share/qemu-efi-aarch64/QEMU_EFI.fd" ], [ "-monitor", "none" ], diff --git a/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json b/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json index 924fbf6bc405..b171e3092423 100644 --- a/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json +++ b/tools/appliance/systemvmtemplate/template-base_x86_64-target_x86_64.json @@ -34,11 +34,11 @@ "qemuargs": [ [ "-m", - "500M" + "1024M" ], [ "-smp", - "1" + "2" ] ], "shutdown_command": "sudo halt -p",