Merge branch 'feature/KASM-6161_egress_ux_improvements' into 'develop'

KASM-6161 Better workspace UX for egress connections

Closes KASM-6161

See merge request kasm-technologies/internal/workspaces-core-images!212
This commit is contained in:
Justin Travis 2024-07-12 19:28:23 +00:00
commit bde255778c

View File

@ -427,7 +427,7 @@ function wait_for_egress_signal() {
if [ "$egress_status" == "error" ]; then
echo "Failed to establish egress gateway. Exiting..."
exit 1
exit 0
fi
}
@ -446,6 +446,11 @@ function wait_for_network_devices() {
if [[ $interface == k-p-* ]]; then
wait_for_egress_signal
if [ -z "$KASM_PROFILE_LDR" ]; then
http_proxy="" https_proxy="" curl -k "https://${KASM_API_HOST}:${KASM_API_PORT}/api/set_kasm_session_status?token=${KASM_API_JWT}" -H 'Content-Type: application/json' -d '{"status": "running"}'
fi
return
fi
done