From 2654c5b17fbaa239ce7f08374f76bea4567666a8 Mon Sep 17 00:00:00 2001 From: Ilya Verbitskiy Date: Sat, 6 Jan 2024 14:59:34 +0100 Subject: [PATCH] switch to debian bookworm base img --- minivirt/daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minivirt/daemon.py b/minivirt/daemon.py index 5ac9908..599e38a 100644 --- a/minivirt/daemon.py +++ b/minivirt/daemon.py @@ -478,14 +478,14 @@ def CreateDomain(self, request, context): img_pool = self.conn.storagePoolLookupByName("restvirtimages") if not domreq.base_image: - base_img_name = "jammy-amd64-20220808.qcow2" + base_img_name = "debian-12-genericcloud-amd64-20240102-1614.qcow2" try: base_img = img_pool.storageVolLookupByName(base_img_name) except: from urllib.request import urlopen res = urlopen( - f"https://cloud-images.ubuntu.com/releases/22.04/release-20221117/ubuntu-22.04-server-cloudimg-amd64.img" + f"https://cloud.debian.org/images/cloud/bookworm/20240102-1614/debian-12-genericcloud-amd64-20240102-1614.qcow2" ) size = int(res.getheader("Content-length")) base_img = img_pool.createXML(