Add manual option to allow using an existing Windows installation

Signed-off-by: Felix Bartels <felix@9wd.eu>
This commit is contained in:
Felix Bartels 2024-08-08 13:53:21 +02:00
parent ed88ae9111
commit 2741dfd3a2
2 changed files with 4 additions and 0 deletions

View File

@ -348,6 +348,7 @@ RDP_IP=""
# - 'docker'
# - 'podman'
# - 'libvirt'
# - 'manual'
WAFLAVOR="docker"
# [DISPLAY SCALING FACTOR]

View File

@ -1493,6 +1493,9 @@ function waInstall() {
# Check if the Windows VM is powered on.
waCheckVMRunning
elif [ "$WAFLAVOR" = "manual" ]; then
# TODO do some checks for an existing windows vm
echo "Using existing vm"
else
# Display the error type.
echo -e "${ERROR_TEXT}ERROR:${CLEAR_TEXT} ${BOLD_TEXT}INVALID WINAPPS BACKEND.${CLEAR_TEXT}"