X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Fneutron-common.postinst.in;h=7b813dc3bce4a8153d5a482fe29ac06482a963e9;hb=a5a14ee1bb1db18e5400c8e785a96909a325a1c3;hp=5bd927ced3afdc1fb89677e39fb6be79495b7fd7;hpb=33f494780fed13daabda23be6ceef83210e1d403;p=openstack-build%2Fneutron-build.git diff --git a/trusty/debian/neutron-common.postinst.in b/trusty/debian/neutron-common.postinst.in index 5bd927ced..7b813dc3b 100644 --- a/trusty/debian/neutron-common.postinst.in +++ b/trusty/debian/neutron-common.postinst.in @@ -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/