Merge "Use MISTRAL_SERVICE_HOST as the host ip for standalone"

This commit is contained in:
Zuul 2019-12-23 11:05:25 +00:00 committed by Gerrit Code Review
commit 541aabbfe8
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,9 @@ function configure_mistral {
# Configure action execution deletion policy
iniset $MISTRAL_CONF_FILE api allow_action_execution_deletion True
# Don't use the default 0.0.0.0 it's good only for ipv4
iniset $MISTRAL_CONF_FILE api host $(ipv6_unquote $MISTRAL_SERVICE_HOST)
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
setup_colorized_logging $MISTRAL_CONF_FILE DEFAULT tenant user
fi