kolla/docker/neutron/neutron-lbaas-agent/extend_start.sh
Henry Gessau 95c7d83ea7 Use --subproject instead of deprecated --service option
The --service option to neutron-db-manage is deprecated and will be
removed soon. Use --subproject instead.

Related-Bug: #1501380

Change-Id: I2f64634d6f01c06a071abf064caf11a134800d04
2016-05-30 15:39:06 +00:00

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