95c7d83ea7
The --service option to neutron-db-manage is deprecated and will be removed soon. Use --subproject instead. Related-Bug: #1501380 Change-Id: I2f64634d6f01c06a071abf064caf11a134800d04
9 lines
311 B
Bash
9 lines
311 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
|
|
neutron-db-manage --subproject neutron-lbaas --config-file /etc/neutron/neutron.conf upgrade head
|
|
exit 0
|
|
fi
|