mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
fix: Entry
This commit is contained in:
parent
bc914a8d11
commit
b717f8d358
1 changed files with 4 additions and 1 deletions
|
|
@ -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}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue