From e9294443995ff532d359eb6d1ca5a915789f0e9e Mon Sep 17 00:00:00 2001 From: Rick Peters Date: Wed, 30 Sep 2026 10:30:01 +0200 Subject: [PATCH] fix: vminstall.sh is headless in CI (no display for QEMU's GTK window) --- scripts/vminstall.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/vminstall.sh b/scripts/vminstall.sh index c3cba97..44dc5a1 100755 --- a/scripts/vminstall.sh +++ b/scripts/vminstall.sh @@ -19,6 +19,7 @@ # The VM's user and key are recorded in $VM_DIR (vm-user, ssh-key) for the # other scripts. Never touches your existing SSH keys or ~/.ssh/known_hosts. set -euo pipefail +[[ -n "${CI:-}" ]] && export VM_HEADLESS=1 # no display in CI (QEMU fails with "OpenGL is not supported by the display") here="$(cd "$(dirname "$0")" && pwd)" repo="$(cd "$here/.." && pwd)" [[ -n "${VM_USER:-}" ]] || VM_USER="$(id -un)"