mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #42230 from vberthet/vberthet-xen-ignore-ssl
[Salt-cloud] Allow to ignore ssl with Xen provider
This commit is contained in:
commit
745d2ff3c4
@ -150,7 +150,14 @@ def _get_session():
|
||||
__opts__,
|
||||
search_global=False
|
||||
)
|
||||
session = XenAPI.Session(url)
|
||||
ignore_ssl = config.get_cloud_config_value(
|
||||
'ignore_ssl',
|
||||
get_configured_provider(),
|
||||
__opts__,
|
||||
default=False,
|
||||
search_global=False
|
||||
)
|
||||
session = XenAPI.Session(url, ignore_ssl=ignore_ssl)
|
||||
log.debug('url: {} user: {} password: {}, originator: {}'.format(
|
||||
url,
|
||||
user,
|
||||
|
Loading…
Reference in New Issue
Block a user