Add vitrage-dbsync to extend_start.sh of vitrage-api image

According to this line[1], dbsync command needs to be added to
the extend_start.sh file of vitrage-api image.

[1] https://github.com/openstack/vitrage/blob/master/devstack/plugin.sh#L139

Change-Id: If30dc5c761ef6164b68afe217ee85c167e73d236
Closes-Bug: #1736927
This commit is contained in:
chenxing 2017-12-07 19:21:36 +08:00
parent 2d1339b60e
commit 773074c68a
1 changed files with 5 additions and 0 deletions

View File

@ -9,3 +9,8 @@ if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
fi
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
vitrage-dbsync
exit 0
fi