kolla-ansible/docker/barbican/barbican-api/extend_start.sh
zhubingbing 97ca36ca06 Add Barbican container dockerfile
Partially-Implements: blueprint barbican-container

Change-Id: I2c4d5df1b35be95f75413067efacc0b401e7ce08
2016-09-05 10:18:01 +00:00

9 lines
240 B
Bash
Executable File

#!/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
barbican-db-manage upgrade
exit 0
fi