Fix the logic of if used with is_service_enabled
The value to be evaluated is the returned value, not the output of the command. Change-Id: I22d7c967e911bcfee6b1910f666dbbc647c00085
This commit is contained in:
parent
81d89cf358
commit
4c813ac0fb
@ -317,7 +317,7 @@ function configure_tempest {
|
||||
# set the equiv validation option here as well to ensure they are
|
||||
# in sync. They shouldn't be separate options.
|
||||
iniset $TEMPEST_CONFIG validation connect_method $ssh_connect_method
|
||||
if [[ ! $(is_service_enabled n-cell) && ! $(is_service_enabled neutron) ]]; then
|
||||
if ! is_service_enabled n-cell && ! is_service_enabled neutron; then
|
||||
iniset $TEMPEST_CONFIG compute fixed_network_name $PRIVATE_NETWORK_NAME
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user