From 0507b06c9b02cf631c60589840089d40150e4f8b Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Wed, 28 Oct 2026 20:01:49 -0600 Subject: [PATCH] Resolve OCI edge IP from state instance --- lib/jeannie/pipeline.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/jeannie/pipeline.sh b/lib/jeannie/pipeline.sh index 60ecfe2..73b1897 100644 --- a/lib/jeannie/pipeline.sh +++ b/lib/jeannie/pipeline.sh @@ -8031,7 +8031,8 @@ refresh_oci_edge_endpoint() { discovered_edge_instance_id="${LAB_OCI_EDGE_INSTANCE_ID:-}" fi fi - if [[ "${LAB_OCI_EDGE_INSTANCE_MANAGED:-false}" == "true" && + if [[ ( "${LAB_OCI_EDGE_INSTANCE_MANAGED:-false}" == "true" || + "${LAB_OCI_FOUNDATION_ENABLED:-false}" == "true" ) && -n "${discovered_edge_instance_id}" && "${discovered_edge_instance_id}" != "null" ]] && declare -F oci_cli_resolve >/dev/null 2>&1; then oci_bin="$(oci_cli_resolve 2>/dev/null || true)"