From 3767ba1fcccd284184d4efa0c71d8ef31b28691a Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Mon, 5 Feb 2024 13:52:13 +0100 Subject: [PATCH] Copy USE_IRONIC_INSPECTOR from BMO defaults Signed-off-by: Dmitry Tantsur --- 03_launch_mgmt_cluster.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/03_launch_mgmt_cluster.sh b/03_launch_mgmt_cluster.sh index 420d42a49..2897ea251 100755 --- a/03_launch_mgmt_cluster.sh +++ b/03_launch_mgmt_cluster.sh @@ -139,6 +139,8 @@ function update_images(){ function launch_ironic() { pushd "${BMOPATH}" + inspector_default=$(grep USE_IRONIC_INSPECTOR "${BMOPATH}/ironic-deployment/default/ironic_bmo_configmap.env" || true) + # Update Configmap parameters with correct urls # Variable names inserted into the configmap might have different # naming conventions than the dev-env e.g. PROVISIONING_IP and CIDR are @@ -158,6 +160,7 @@ IRONIC_FAST_TRACK=true RESTART_CONTAINER_CERTIFICATE_UPDATED="${RESTART_CONTAINER_CERTIFICATE_UPDATED}" IRONIC_RAMDISK_SSH_KEY=${SSH_PUB_KEY_CONTENT} IRONIC_USE_MARIADB=${IRONIC_USE_MARIADB:-false} +${inspector_default} EOF if [ -n "${DEPLOY_ISO_URL}" ]; then