2a491b9896
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
9 lines
276 B
Bash
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
|