mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Manual mode
This commit is contained in:
parent
f964144cb2
commit
1d36c8c6e9
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
|
: "${MANUAL:="N"}"
|
||||||
: "${EXTERNAL:="N"}"
|
: "${EXTERNAL:="N"}"
|
||||||
: "${ATTENDED:="N"}"
|
|
||||||
: "${VERSION:="win11x64"}"
|
: "${VERSION:="win11x64"}"
|
||||||
|
|
||||||
ARGUMENTS="-chardev socket,id=chrtpm,path=/dev/shm/emulated_tpm/swtpm-sock $ARGUMENTS"
|
ARGUMENTS="-chardev socket,id=chrtpm,path=/dev/shm/emulated_tpm/swtpm-sock $ARGUMENTS"
|
||||||
|
|
@ -139,7 +139,7 @@ rm -rf "$DIR"
|
||||||
|
|
||||||
7z x "$ISO" -o"$DIR"
|
7z x "$ISO" -o"$DIR"
|
||||||
|
|
||||||
if [[ "$ATTENDED" != [Yy1]* ]]; then
|
if [[ "$MANUAL" != [Yy1]* ]]; then
|
||||||
if [[ "$EXTERNAL" != [Yy1]* ]]; then
|
if [[ "$EXTERNAL" != [Yy1]* ]]; then
|
||||||
if [ -f "/run/assets/$VERSION.xml" ]; then
|
if [ -f "/run/assets/$VERSION.xml" ]; then
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue