Merge pull request #42230 from vberthet/vberthet-xen-ignore-ssl

[Salt-cloud] Allow to ignore ssl with Xen provider
This commit is contained in:
Nicole Thomas 2017-07-19 09:57:56 -06:00 committed by GitHub
commit 745d2ff3c4

View File

@ -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,