aboutsummaryrefslogtreecommitdiff
path: root/docker/cinder/cinder-api/extend_start.sh
blob: 176515189d4370293c8989f1e71b890d7bbe843a (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
set -o errexit

# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
    cinder-manage db sync
    exit 0
fi