fix: Entry

This commit is contained in:
Kroese 2024-01-14 15:08:59 +01:00 committed by GitHub
parent bc914a8d11
commit b717f8d358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,9 @@ set -Eeuo pipefail
echo " Starting Windows for Docker v$(</run/version)..." echo " Starting Windows for Docker v$(</run/version)..."
echo " For support visit https://github.com/dockur/windows" echo " For support visit https://github.com/dockur/windows"
export DISPLAY=web
export BOOT_MODE=windows
cd /run cd /run
. reset.sh # Initialize system . reset.sh # Initialize system
@ -21,7 +24,7 @@ if [[ "${DISPLAY,,}" == "web" ]]; then
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
fi fi
info "Booting image using $VERS..." info "Booting Windows using $VERS..."
[[ "$DEBUG" == [Yy1]* ]] && set -x [[ "$DEBUG" == [Yy1]* ]] && set -x
exec qemu-system-x86_64 ${ARGS:+ $ARGS} exec qemu-system-x86_64 ${ARGS:+ $ARGS}