From a95dc2b9b93aefa343fc023feff365f3a572ca65 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 12 Jun 2024 04:03:49 +0200 Subject: [PATCH] Update display.sh --- src/display.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/display.sh b/src/display.sh index c19d50d..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="virtio-gpu" -else - [ -z "$VGA" ] && VGA="ramfb" -fi - case "${DISPLAY,,}" in vnc) DISPLAY_OPTS="-display vnc=:0 -device $VGA"