Do not manage nova_admin_* options from templates
[openstack-build/neutron-build.git] / trusty / debian / neutron-common.postinst.in
index 5bd927ced3afdc1fb89677e39fb6be79495b7fd7..7b813dc3bce4a8153d5a482fe29ac06482a963e9 100644 (file)
@@ -57,19 +57,6 @@ neutron_core_plugin_class () {
        esac
 }
 
-write_nova_admin_credentials () {
-        db_get neutron/nova_url
-       pkgos_inifile set ${N_CONF} DEFAULT nova_url ${RET}
-       db_get neutron/nova_region
-       pkgos_inifile set ${N_CONF} DEFAULT nova_region_name ${RET}
-       db_get neutron/nova_admin_tenant_id
-       pkgos_inifile set ${N_CONF} DEFAULT nova_admin_tenant_id ${RET}
-       db_get neutron/nova_admin_username
-       pkgos_inifile set ${N_CONF} DEFAULT nova_admin_username ${RET}
-       db_get neutron/nova_admin_password
-       pkgos_inifile set ${N_CONF} DEFAULT nova_admin_password ${RET}
-}
-
 if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
        . /usr/share/debconf/confmodule
 
@@ -122,7 +109,6 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
                pkgos_inifile set ${OVS_CONF} OVS local_ip "${RET}"
        fi
 
-       write_nova_admin_credentials
        db_stop
 
        chown -R neutron:adm /var/log/neutron/