Change-Id: Ic129018979f78fafdd1204bbb5dc7495c9a3c48c
neutron (2013.2-9) unstable; urgency=medium
* Added missing handling of ml2 plugin in neutron-common.postinst.
+ * Do not call neutron-db-manage --config-file /etc/neutron/neutron.conf
+ upgrade head if the user didn't ask for db management through debconf.
-- Thomas Goirand <zigo@debian.org> Thu, 05 Dec 2013 20:30:09 +0800
# Set the sql_connection directive
pkgos_dbc_postinst --suite neutron ${N_CONF} database connection neutron $@
- # Migrating to latest release of the db
- neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade head
+ db_get neutron/configure_db
+ if [ "$RET" = "true" ] ; then
+ # Migrating to latest release of the db
+ neutron-db-manage --config-file /etc/neutron/neutron.conf upgrade head
+ fi
# Maintain the OVS config
if [ ! -e ${OVS_CONF} ] ; then