kolla/docker/zun/zun-api/extend_start.sh
jianyi 4c2156a45c Add zun container
Change-Id: Id11d00b8577f6c614b7001474d9a113ee6eca1fe
Partially-implements: bp add-zun-container-for-kolla
2016-12-29 08:09:28 +00: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
zun-db-manage upgrade
exit 0
fi