mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Change default vsphere connection behavior
This commit changes the vsphere connection behavior to set insecure false. Without this change insecure is always set to true when making a connection regardless of the setting provided with the provider configuration.
This commit is contained in:
parent
00970ffc9e
commit
af8b73b6c9
2 changed files with 2 additions and 2 deletions
|
|
@ -410,7 +410,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue