From 53f6fa7dea2b65e952bc95d790302db2efc5b542 Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Wed, 28 Oct 2026 19:45:58 -0600 Subject: [PATCH] Load persisted OCI inputs before edge discovery --- lib/jeannie/pipeline.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/jeannie/pipeline.sh b/lib/jeannie/pipeline.sh index 2794534..60ecfe2 100644 --- a/lib/jeannie/pipeline.sh +++ b/lib/jeannie/pipeline.sh @@ -7970,6 +7970,12 @@ platform_apply() { edge_apply() { require_debian_server "edge" + # The remote API is a long-lived service and does not inherit the shell's + # OCI exports. Load the persisted foundation inputs before endpoint + # discovery so recreated instances are resolved before any SSH connection. + if declare -F oci_foundation_load_config >/dev/null 2>&1; then + oci_foundation_load_config + fi local configured_edge_key="${LAB_EDGE_SSH_KEY_PATH:-${LAB_OCI_SSH_PRIVATE_KEY:-}}" if [[ -n "${configured_edge_key}" ]]; then