Update display.sh

This commit is contained in:
Kroese 2024-02-02 20:07:10 +01:00 committed by GitHub
parent 7582d0c04e
commit f7d40f07a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ set -Eeuo pipefail
: "${VGA:="virtio-gpu"}" # VGA adaptor : "${VGA:="virtio-gpu"}" # VGA adaptor
if [[ "${BOOT_MODE,,}" == "windows" ]]; then if [[ "${BOOT_MODE,,}" == "windows" ]]; then
[[ "$VGA" == "virtio-gpu" ]] && VGA="VGA" [[ "$VGA" == "virtio-gpu" ]] && VGA="ramfb"
fi fi
case "${DISPLAY,,}" in case "${DISPLAY,,}" in