kolla-ansible/docker/senlin/senlin-api/extend_start.sh
Eduardo Gonzalez 1d399461ac Add Senlin Docker container
Change-Id: I52e08e2df77106969c5975ebda2510ea8aefa8b5
Partially-implements: bp senlin-container
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-06-30 16:36:25 +02:00

9 lines
273 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
senlin-manage --config-file /etc/senlin/senlin.conf db_sync
exit 0
fi