Skip to content

Commit

Permalink
update kasm init to support egress - jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Sep 9, 2024
1 parent c86da41 commit e2d47c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions root/kasminit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2d47c8

Please sign in to comment.