diff --git a/samples/vsphere/vcenter/setup/main.py b/samples/vsphere/vcenter/setup/main.py index e4617faa..ea1a4589 100644 --- a/samples/vsphere/vcenter/setup/main.py +++ b/samples/vsphere/vcenter/setup/main.py @@ -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): diff --git a/samples/vsphere/vcenter/setup/setup_cli.py b/samples/vsphere/vcenter/setup/setup_cli.py index 9d2493fe..67016736 100644 --- a/samples/vsphere/vcenter/setup/setup_cli.py +++ b/samples/vsphere/vcenter/setup/setup_cli.py @@ -37,6 +37,7 @@ def build_arg_parser(): -l, --samples_cleanup -v, --skipverification -server, --vcenterserver + -p, --vcenterpassword -e1, --esxhost1 -e2, --esxhost2 -epass, --esxpassword