mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-03 21:57: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'
|
# - 'docker'
|
||||||
# - 'podman'
|
# - 'podman'
|
||||||
# - 'libvirt'
|
# - 'libvirt'
|
||||||
|
# - 'manual'
|
||||||
WAFLAVOR="docker"
|
WAFLAVOR="docker"
|
||||||
|
|
||||||
# [DISPLAY SCALING FACTOR]
|
# [DISPLAY SCALING FACTOR]
|
||||||
|
@ -675,6 +675,8 @@ if [ "$WAFLAVOR" = "docker" ] || [ "$WAFLAVOR" = "podman" ]; then
|
|||||||
elif [ "$WAFLAVOR" = "libvirt" ]; then
|
elif [ "$WAFLAVOR" = "libvirt" ]; then
|
||||||
waCheckGroupMembership
|
waCheckGroupMembership
|
||||||
waCheckVMRunning
|
waCheckVMRunning
|
||||||
|
elif [ "$WAFLAVOR" = "manual" ]; then
|
||||||
|
waCheckPortOpen
|
||||||
else
|
else
|
||||||
waThrowExit "$EC_INVALID_FLAVOR"
|
waThrowExit "$EC_INVALID_FLAVOR"
|
||||||
fi
|
fi
|
||||||
|
@ -1493,6 +1493,8 @@ function waInstall() {
|
|||||||
|
|
||||||
# Check if the Windows VM is powered on.
|
# Check if the Windows VM is powered on.
|
||||||
waCheckVMRunning
|
waCheckVMRunning
|
||||||
|
elif [ "$WAFLAVOR" = "manual" ]; then
|
||||||
|
waCheckPortOpen
|
||||||
else
|
else
|
||||||
# Display the error type.
|
# Display the error type.
|
||||||
echo -e "${ERROR_TEXT}ERROR:${CLEAR_TEXT} ${BOLD_TEXT}INVALID WINAPPS BACKEND.${CLEAR_TEXT}"
|
echo -e "${ERROR_TEXT}ERROR:${CLEAR_TEXT} ${BOLD_TEXT}INVALID WINAPPS BACKEND.${CLEAR_TEXT}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user