devstack: a safeguard for disabled tempurls

Change-Id: Id5fcd4cc1f73b80e8a9e9d2c50e2e4e1667c01cb
(cherry picked from commit 7abac806a7)
This commit is contained in:
Dmitry Tantsur 2021-02-25 12:09:30 +01:00
parent a1f5965902
commit 90da180a17
1 changed files with 1 additions and 1 deletions

View File

@ -1460,7 +1460,7 @@ function configure_ironic {
# FIXME(dtantsur): configdrive downloading code does not respect IPA TLS
# configuration, not even ipa-insecure.
if is_service_enabled swift && ! is_service_enabled tls-proxy; then
if is_service_enabled swift && [[ "$SWIFT_ENABLE_TEMPURLS" == "True" ]] && ! is_service_enabled tls-proxy; then
iniset $IRONIC_CONF_FILE deploy configdrive_use_object_store True
fi