mirror of
https://github.com/winapps-org/winapps.git
synced 2025-05-31 20:37:18 +02:00
Merge pull request #204 from fbartels/existing-vm
Add option to use a preexisting windows installation
This commit is contained in:
commit
7eb4161639
@ -348,6 +348,7 @@ RDP_IP=""
|
||||
# - 'docker'
|
||||
# - 'podman'
|
||||
# - 'libvirt'
|
||||
# - 'manual'
|
||||
WAFLAVOR="docker"
|
||||
|
||||
# [DISPLAY SCALING FACTOR]
|
||||
|
@ -675,6 +675,8 @@ if [ "$WAFLAVOR" = "docker" ] || [ "$WAFLAVOR" = "podman" ]; then
|
||||
elif [ "$WAFLAVOR" = "libvirt" ]; then
|
||||
waCheckGroupMembership
|
||||
waCheckVMRunning
|
||||
elif [ "$WAFLAVOR" = "manual" ]; then
|
||||
waCheckPortOpen
|
||||
else
|
||||
waThrowExit "$EC_INVALID_FLAVOR"
|
||||
fi
|
||||
|
@ -1493,6 +1493,8 @@ function waInstall() {
|
||||
|
||||
# Check if the Windows VM is powered on.
|
||||
waCheckVMRunning
|
||||
elif [ "$WAFLAVOR" = "manual" ]; then
|
||||
waCheckPortOpen
|
||||
else
|
||||
# Display the error type.
|
||||
echo -e "${ERROR_TEXT}ERROR:${CLEAR_TEXT} ${BOLD_TEXT}INVALID WINAPPS BACKEND.${CLEAR_TEXT}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user