From fe806a82adf11e6e37bd259421a07777c3f2d000 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 5 Oct 2024 16:02:21 +0200 Subject: [PATCH] fix: Use ramfb by default --- src/display.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/display.sh b/src/display.sh index e5594b6..0547776 100644 --- a/src/display.sh +++ b/src/display.sh @@ -3,15 +3,9 @@ set -Eeuo pipefail # Docker environment variables -: "${VGA:=""}" # VGA adaptor +: "${VGA:="ramfb"}" # VGA adaptor : "${DISPLAY:="web"}" # Display type -if [[ "${BOOT_MODE:-}" == "windows"* ]]; then - [ -z "$VGA" ] && VGA="ramfb" -else - [ -z "$VGA" ] && VGA="virtio-gpu" -fi - case "${DISPLAY,,}" in vnc) DISPLAY_OPTS="-display vnc=:0 -device $VGA"