mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Web GUI before install
This commit is contained in:
parent
f1bcd5a9ee
commit
1cbcc8f71e
1 changed files with 2 additions and 4 deletions
|
|
@ -7,6 +7,8 @@ echo "❯ For support visit https://github.com/dockur/windows"
|
|||
export DISPLAY=web
|
||||
export BOOT_MODE=windows
|
||||
|
||||
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
|
||||
|
||||
cd /run
|
||||
|
||||
. reset.sh # Initialize system
|
||||
|
|
@ -20,10 +22,6 @@ cd /run
|
|||
|
||||
trap - ERR
|
||||
|
||||
if [[ "${DISPLAY,,}" == "web" ]]; then
|
||||
websockify -D --web /usr/share/novnc/ 8006 localhost:5900 2>/dev/null
|
||||
fi
|
||||
|
||||
mkdir -p /tmp/emulated_tpm
|
||||
swtpm socket -t -d --tpmstate dir=/tmp/emulated_tpm --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm-sock --log level=1 --tpm2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue