772de9662c
The script for database synchronization is missing in the venus-api image, which makes it impossible to create the required database tables during venus deployment. Closes-Bug: #2029915 Change-Id: Ibbf75fa73b8397ea3686b42cec6cad6d8f6d3858
9 lines
235 B
Bash
9 lines
235 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
|
|
venus_manager db sync
|
|
exit 0
|
|
fi
|