1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00

Fixed argument name in main.py to vcenterpassword, which was differing with build_arg_parser() from setup_cli.py. Added Argument in help text (#3)

Signed-off-by: Pavan Bidkar pbidkar@vmware.com

Signed-off-by: pgbidkar <pbidkar@vmware.com>
This commit is contained in:
Pavan Bidkar 2017-08-17 23:53:35 +05:30 committed by Tianhao He
parent be279fb622
commit 44222e1dee
2 changed files with 3 additions and 2 deletions

View File

@ -45,8 +45,8 @@ _testbed = testbed.get()
# then override testbed.py values
if (args.vcenterserver):
_testbed.config['SERVER'] = args.vcenterserver
if (args.vcpassword):
_testbed.config['PASSWORD'] = args.vcpassword
if (args.vcenterpassword):
_testbed.config['PASSWORD'] = args.vcenterpassword
if (args.esxhost1):
_testbed.config['ESX_HOST1'] = args.esxhost1
if (args.esxhost2):

View File

@ -37,6 +37,7 @@ def build_arg_parser():
-l, --samples_cleanup
-v, --skipverification
-server, --vcenterserver
-p, --vcenterpassword
-e1, --esxhost1
-e2, --esxhost2
-epass, --esxpassword