Fixing a bash test in devstack ironic lib

This patch corrects the syntax of a test inside the devstack
ironic lib.

Change-Id: Id3e6b005a99235589cea4db4cc96c23fd8fe703a
This commit is contained in:
Riccardo Pittau 2019-03-12 17:11:48 +01:00
parent 5614d251bb
commit fac7384b48

View File

@ -520,7 +520,7 @@ fi
# TODO(pas-ha) find a way to (cross-)sign the custom CA bundle used by tls-proxy
# with default iPXE cert - for reference see http://ipxe.org/crypto
if [ $IRONIC_IPXE_USE_SWIFT == 'True' && is_service_enabled tls-proxy ]; then
if is_service_enabled tls-proxy && [[ "$IRONIC_IPXE_USE_SWIFT" == "True" ]]; then
die $LINENO "Ironic in DevStack does not yet support booting iPXE from HTTPS URLs"
fi