Update display.sh
This commit is contained in:
parent
5e0cd9cdfb
commit
c43a3f76ce
1 changed files with 5 additions and 2 deletions
|
|
@ -8,10 +8,13 @@ set -Eeuo pipefail
|
|||
|
||||
case "${DISPLAY,,}" in
|
||||
vnc)
|
||||
DISPLAY_OPTS="-display vnc=:0 -device $VGA"
|
||||
DISPLAY_OPTS="-display vnc=:0 -device virto-gpu"
|
||||
;;
|
||||
web)
|
||||
DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device $VGA"
|
||||
DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device virto-gpu"
|
||||
;;
|
||||
boot)
|
||||
DISPLAY_OPTS="-display vnc=:0,websocket=5700 -device ramfb"
|
||||
;;
|
||||
none)
|
||||
DISPLAY_OPTS="-display none"
|
||||
|
|
|
|||
Loading…
Reference in a new issue