Skip to content

Commit

Permalink
Merge pull request metal3-io#1346 from dtantsur/no-inspector
Browse files Browse the repository at this point in the history
Copy USE_IRONIC_INSPECTOR from BMO defaults
  • Loading branch information
metal3-io-bot authored Feb 6, 2024
2 parents a9dadb5 + 3767ba1 commit 87e9b4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 03_launch_mgmt_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 87e9b4f

Please sign in to comment.