kolla-ansible/docker/cloudkitty/cloudkitty-api/extend_start.sh
Christian Berendt aa4b49a2c3 Add cloudkitty containers for type source
Change-Id: I548c20afd7ce7ba27a5475c69c78c7d267ccc24b
Partially-Implements: blueprint cloudkitty-docker
2016-09-06 08:54:21 +02:00

10 lines
267 B
Bash

#!/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
cloudkitty-dbsync upgrade
cloudkitty-storage-init
exit 0
fi