#!/bin/bash set -e . /opt/kolla/kolla-common.sh . /opt/kolla/config-cinder.sh fail_unless_db check_required_vars CINDER_DB_NAME \ CINDER_DB_PASSWORD \ CINDER_DB_USER \ DB_ROOT_PASSWORD \ INIT_CINDER_DB \ MARIADB_SERVICE_HOST cfg=/etc/cinder/cinder.conf if [ "${INIT_CINDER_DB}" == "true" ]; then mysql -h ${MARIADB_SERVICE_HOST} -u root -p${DB_ROOT_PASSWORD} mysql <