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
|
: "${VGA:=""}" # VGA adaptor
|
||||||
: "${DISPLAY:="web"}" # Display type
|
: "${DISPLAY:="web"}" # Display type
|
||||||
|
|
||||||
if [[ "${BOOT_MODE:-}" != "windows" ]]; then
|
if [[ "${BOOT_MODE:-}" == "windows"* ]]; then
|
||||||
[ -z "$VGA" ] && VGA="virtio-gpu"
|
|
||||||
else
|
|
||||||
[ -z "$VGA" ] && VGA="ramfb"
|
[ -z "$VGA" ] && VGA="ramfb"
|
||||||
|
else
|
||||||
|
[ -z "$VGA" ] && VGA="virtio-gpu"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "${DISPLAY,,}" in
|
case "${DISPLAY,,}" in
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue