From 3b8383435a358e2951dfd28e1ca20cab36d4764b Mon Sep 17 00:00:00 2001 From: Ilya Verbitskiy Date: Sat, 6 Jan 2024 19:17:47 +0100 Subject: [PATCH] revert back to sata cdrom and use generic cloud img --- minivirt/daemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minivirt/daemon.py b/minivirt/daemon.py index 7c77c9f..6ad4171 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 = "debian-12-genericcloud-amd64-20240102-1614.qcow2" + base_img_name = "debian-12-generic-amd64-20240102-1614.qcow2" try: base_img = img_pool.storageVolLookupByName(base_img_name) except: from urllib.request import urlopen res = urlopen( - f"https://cloud.debian.org/images/cloud/bookworm/20240102-1614/debian-12-genericcloud-amd64-20240102-1614.qcow2" + f"https://cloud.debian.org/images/cloud/bookworm/20240102-1614/debian-12-generic-amd64-20240102-1614.qcow2" ) size = int(res.getheader("Content-length")) base_img = img_pool.createXML( @@ -581,7 +581,7 @@ def CreateDomain(self, request, context): - +