Put user/password in nsx_v3 during devstack setup
From commit d2d5bd0fc7
, 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
This commit is contained in:
parent
8758b85413
commit
957789f2a1
@ -102,10 +102,10 @@ function neutron_plugin_configure_service {
|
|||||||
die $LINENO "The VMware NSX plugin needs at least an NSX controller."
|
die $LINENO "The VMware NSX plugin needs at least an NSX controller."
|
||||||
fi
|
fi
|
||||||
if [[ "$NSX_USER" != "" ]]; then
|
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
|
fi
|
||||||
if [[ "$NSX_PASSWORD" != "" ]]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user