Merge pull request #261 from mattkirby/fix_ignore_cert

Change default vsphere connection behavior
This commit is contained in:
Samuel 2018-06-20 15:27:40 -05:00 committed by GitHub
commit 89e1f17738
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -403,7 +403,7 @@ module Vmpooler
connection = RbVmomi::VIM.connect host: provider_config['server'],
user: provider_config['username'],
password: provider_config['password'],
insecure: provider_config['insecure'] || true
insecure: provider_config['insecure'] || false
metrics.increment('connect.open')
return connection
rescue => err

View file

@ -52,7 +52,7 @@
#
# - insecure
# Whether to ignore any HTTPS negotiation errors (e.g. untrusted self-signed certificates)
# (optional: default true)
# (optional: default false)
#
# - datacenter
# The datacenter within vCenter to manage VMs. This can be overridden in the pool configuration