summaryrefslogtreecommitdiff
path: root/docker/solum/solum-api/extend_start.sh
blob: fd9625c837b139e8a86d0d5dd7dd1b15a09b4213 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

# 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
    solum-db-manage --config-file /etc/solum/solum.conf upgrade head
    exit 0
fi