Merge "feat: Add bootstrap support for skyline image"

This commit is contained in:
Zuul 2021-07-29 05:14:17 +00:00 committed by Gerrit Code Review
commit 791f6f14ac

View File

@ -7,6 +7,12 @@ echo "/usr/local/bin/gunicorn -c /etc/skyline/gunicorn.py skyline_apiserver.main
mapfile -t CMD < <(tail /run_command | xargs -n 1)
# kolla_extend_start
if [[ "${!KOLLA_BOOTSTRAP[*]}" ]]; then
cd /skyline/libs/skyline-apiserver/
make db_sync
exit 0
fi
nginx-generator -o /etc/nginx/nginx.conf
nginx