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