diff --git a/devstack/lib/ironic b/devstack/lib/ironic index 7bf0c07389..f0f0eedc22 100644 --- a/devstack/lib/ironic +++ b/devstack/lib/ironic @@ -1578,7 +1578,7 @@ function enroll_nodes { elif is_deployed_by_ilo; then node_options+=" -i ilo_address=$bmc_address -i ilo_password=$bmc_passwd\ -i ilo_username=$bmc_username" - if [[ $IRONIC_DEPLOY_DRIVER -ne "pxe_ilo" ]]; then + if [[ $IRONIC_DEPLOY_DRIVER != "pxe_ilo" ]]; then node_options+=" -i ilo_deploy_iso=$IRONIC_DEPLOY_ISO_ID" fi elif is_deployed_by_drac; then