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"