From 957789f2a11ab6f9ebc42c2f45d6ac62ef26a73e Mon Sep 17 00:00:00 2001 From: Janet Yu Date: Mon, 13 Jul 2015 16:09:29 -0700 Subject: [PATCH] Put user/password in nsx_v3 during devstack setup From commit d2d5bd0fc747a97e38dfa99be8bb87facf8897b0, the NSXv3 username and password are now being read from the [nsx_v3] section of nsx.ini. Change the NSXv3 devstack setup script to write to that section instead of [DEFAULT]. Change-Id: Ie22074af68d5ed68612b8ea4441d7772f3a629b1 --- devstack/lib/vmware_nsx_v3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/lib/vmware_nsx_v3 b/devstack/lib/vmware_nsx_v3 index 6e2fef644f..1a8eea924b 100644 --- a/devstack/lib/vmware_nsx_v3 +++ b/devstack/lib/vmware_nsx_v3 @@ -102,10 +102,10 @@ function neutron_plugin_configure_service { die $LINENO "The VMware NSX plugin needs at least an NSX controller." fi if [[ "$NSX_USER" != "" ]]; then - iniset /$Q_PLUGIN_CONF_FILE DEFAULT nsx_user $NSX_USER + iniset /$Q_PLUGIN_CONF_FILE nsx_v3 nsx_user $NSX_USER fi if [[ "$NSX_PASSWORD" != "" ]]; then - iniset /$Q_PLUGIN_CONF_FILE DEFAULT nsx_password $NSX_PASSWORD + iniset /$Q_PLUGIN_CONF_FILE nsx_v3 nsx_password $NSX_PASSWORD fi }