kolla/docker/murano/murano-api/extend_start.sh
Éric Lemoine 34ac0dfad2 Remove duplicate code in murano extend_start.sh
Change-Id: I32e55ce520c95b3d2c018604e925bd8d4fdf58f1
Partial-Bug: #1546944
2016-02-24 12:10:34 +01:00

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