From e2d47c8d56ce1c651f20bdfdab65c64d993d2b14 Mon Sep 17 00:00:00 2001 From: thelamer Date: Mon, 9 Sep 2024 12:09:52 -0400 Subject: [PATCH] update kasm init to support egress - jammy --- root/kasminit | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/kasminit b/root/kasminit index 0abb94e..70d83b6 100755 --- a/root/kasminit +++ b/root/kasminit @@ -95,6 +95,9 @@ while :; do done egress_status=$(cat $egress_file) if [ "$egress_status" == "ready" ]; then + 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 break 2 fi if [ "$egress_status" == "error" ]; then