From f27514860e2b535c227c2e2ddff46bdf88ab6e73 Mon Sep 17 00:00:00 2001 From: sjat Date: Thu, 18 Jun 2026 16:13:35 +0200 Subject: [PATCH] fix(integration-vm): boot test VMs via UEFI The Debian 13 genericcloud image triple-faults at the legacy real-mode kernel handoff under SeaBIOS/q35 (boot-loops at GRUB, no 'Decompressing Linux', no DHCP lease). Booting via UEFI (OVMF -> efistub) bypasses the legacy entry and boots cleanly: cloud-init runs, DHCP lease obtained, SSH reachable. Verified end-to-end. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/integration-vm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/integration-vm.py b/scripts/integration-vm.py index 9afbe0e..cb9f542 100644 --- a/scripts/integration-vm.py +++ b/scripts/integration-vm.py @@ -202,6 +202,7 @@ def up(host, name=None, mem_mib=DEFAULT_MEM_MIB, vcpus=DEFAULT_VCPUS): str(seed), str(RUN_DIR / "user-data"), str(RUN_DIR / "meta-data")]) console = CACHE_DIR / f"{name}-console.log" sh(["virt-install", "--name", name, "--memory", str(mem_mib), "--vcpus", str(vcpus), + "--boot", "uefi", # genericcloud triple-faults on legacy BIOS handoff; UEFI boots "--import", "--disk", f"path={overlay},format=qcow2", "--disk", f"path={seed},device=cdrom",