| ... | ... |
@@ -994,7 +994,7 @@ function get_endpoint_url {
|
| 994 | 994 |
# out of tree, as it is used by nova and neutron. |
| 995 | 995 |
# figure out a way to refactor nova/neutron code to eliminate this |
| 996 | 996 |
function is_ironic_hardware {
|
| 997 |
- is_service_enabled ironic && [[ -n "${IRONIC_DEPLOY_DRIVER##*_ssh}" ]] && return 0
|
|
| 997 |
+ is_service_enabled ironic && [[ "$IRONIC_IS_HARDWARE" == "True" ]] && return 0 |
|
| 998 | 998 |
return 1 |
| 999 | 999 |
} |
| 1000 | 1000 |
|