Merge "Ensure we disable tenant isolation without admin"
This commit is contained in:
commit
fd97214a0e
@ -559,9 +559,13 @@ function configure_tempest {
|
|||||||
fi
|
fi
|
||||||
iniset $TEMPEST_CONFIG auth allow_tenant_isolation False
|
iniset $TEMPEST_CONFIG auth allow_tenant_isolation False
|
||||||
iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
|
iniset $TEMPEST_CONFIG auth test_accounts_file "etc/accounts.yaml"
|
||||||
|
elif [[ $TEMPEST_HAS_ADMIN == "False" ]]; then
|
||||||
|
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-False}
|
||||||
|
|
||||||
else
|
else
|
||||||
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
|
iniset $TEMPEST_CONFIG auth allow_tenant_isolation ${TEMPEST_ALLOW_TENANT_ISOLATION:-True}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restore IFS
|
# Restore IFS
|
||||||
IFS=$ifs
|
IFS=$ifs
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user