fix: Use ramfb by default
This commit is contained in:
parent
40e583f1b4
commit
fe806a82ad
1 changed files with 1 additions and 7 deletions
|
|
@ -3,15 +3,9 @@ set -Eeuo pipefail
|
||||||
|
|
||||||
# Docker environment variables
|
# Docker environment variables
|
||||||
|
|
||||||
: "${VGA:=""}" # VGA adaptor
|
: "${VGA:="ramfb"}" # VGA adaptor
|
||||||
: "${DISPLAY:="web"}" # Display type
|
: "${DISPLAY:="web"}" # Display type
|
||||||
|
|
||||||
if [[ "${BOOT_MODE:-}" == "windows"* ]]; then
|
|
||||||
[ -z "$VGA" ] && VGA="ramfb"
|
|
||||||
else
|
|
||||||
[ -z "$VGA" ] && VGA="virtio-gpu"
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "${DISPLAY,,}" in
|
case "${DISPLAY,,}" in
|
||||||
vnc)
|
vnc)
|
||||||
DISPLAY_OPTS="-display vnc=:0 -device $VGA"
|
DISPLAY_OPTS="-display vnc=:0 -device $VGA"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue