Update display.sh
This commit is contained in:
parent
360bf23417
commit
2e27c3afc6
1 changed files with 3 additions and 3 deletions
|
|
@ -6,10 +6,10 @@ set -Eeuo pipefail
|
|||
: "${VGA:=""}" # VGA adaptor
|
||||
: "${DISPLAY:="web"}" # Display type
|
||||
|
||||
if [[ "${BOOT_MODE:-}" != "windows" ]]; then
|
||||
[ -z "$VGA" ] && VGA="virtio-gpu"
|
||||
else
|
||||
if [[ "${BOOT_MODE:-}" == "windows"* ]]; then
|
||||
[ -z "$VGA" ] && VGA="ramfb"
|
||||
else
|
||||
[ -z "$VGA" ] && VGA="virtio-gpu"
|
||||
fi
|
||||
|
||||
case "${DISPLAY,,}" in
|
||||
|
|
|
|||
Loading…
Reference in a new issue