mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-21 17:29:59 -05:00
To allow skip certificates
Signed-off-by: Juan Sierra Pons <juan@elsotanillo.net>
This commit is contained in:
parent
647be2cc71
commit
ab18fab9f8
@ -72,7 +72,8 @@ class AdministratorClient(object):
|
||||
# Login to vCenter
|
||||
stub_config = vapiconnect.connect(host=args.server,
|
||||
user=args.username,
|
||||
pwd=args.password)
|
||||
pwd=args.password,
|
||||
skip_verification=args.skipverification)
|
||||
# Create admin stub
|
||||
self.admin_client = Administrators(stub_config)
|
||||
self.cleanup = args.cleardata
|
||||
|
@ -86,7 +86,8 @@ class LinksClient(object):
|
||||
# Login to vCenter
|
||||
stub_config = vapiconnect.connect(host=args.server,
|
||||
user=args.username,
|
||||
pwd=args.password)
|
||||
pwd=args.password,
|
||||
skip_verification=args.skipverification)
|
||||
|
||||
# Create links stub
|
||||
self.links_client = Links(stub_config)
|
||||
|
Loading…
Reference in New Issue
Block a user