kolla/docker/octavia/octavia-api/extend_start.sh
Jeffrey Zhang 8105f504d3 Fix octavia images
* Add extend start script in octavia
* Add octavia user into kolla group

Change-Id: I876e06795b04f676a0cfa67915ca65caec9e33e3
2016-12-05 10:33:16 +08:00

9 lines
244 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
octavia-db-manage upgrade head
exit 0
fi