kolla/docker/karbor/karbor-api/extend_start.sh
caowei 2dae2f080c Add karbor container
Change-Id: I8ed8840d06a1fdb87aad51f438ac6c38c1c14642
Partially-implements: bp karbor-container
2016-11-14 14:23:44 +08:00

9 lines
235 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
karbor-manage db sync
exit 0
fi