kolla-ansible/docker/murano/murano-api/extend_start.sh
Swapnil Kulkarni (coolsvap) 2a491b9896 Drop root for murano
Updates to ensure commands run in the murano containers
are done as the 'murano' user rather than root.

Change-Id: I558c46b032f11b83a9dc6b5abc158aa6d24ec0eb
Partially-Implements: blueprint drop-root
2015-11-30 11:36:02 +05:30

9 lines
276 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
murano-db-manage --config-file /etc/murano/murano.conf upgrade
exit 0
fi