Update display.sh

This commit is contained in:
Kroese 2024-06-12 02:31:44 +02:00 committed by GitHub
parent a5a33c7146
commit f9d6f938bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ set -Eeuo pipefail
: "${VGA:=""}" # VGA adaptor
: "${DISPLAY:="web"}" # Display type
if [[ "${BOOT_MODE,,}" != "windows" ]]; then
if [[ "${BOOT_MODE:-}" != "windows" ]]; then
[ -z "$VGA" ] && VGA="virtio-gpu"
else
[ -z "$VGA" ] && VGA="ramfb"