fix: Use ramfb by default

This commit is contained in:
Kroese 2024-10-05 16:02:21 +02:00 committed by GitHub
parent 40e583f1b4
commit fe806a82ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"