kolla-ansible/docker/neutron/neutron-vpnaas-agent/extend_start.sh
Christian Berendt ce2a00a0e9 Add neutron-vpnaas-agent container
This implements the neutron-vpnaas-agent container for Ubuntu/Debian
with installation from source packages.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Implements: blueprint neutron-vpnaas-agent

Change-Id: I3e4b513fb8e1670c4df0edb4951610f777ff72e6
2016-09-14 14:03:16 +00:00

9 lines
312 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-vpnaas --config-file /etc/neutron/neutron.conf upgrade head
exit 0
fi