Don't determine local IPv6 support if force_ip4=True
In case when user set in config to force usage of IPv4 shade will not try to check if IPv6 is locally supported or not. Change-Id: Id12df5de0de58bbe427301c8a32d4c622dfbcc99 Related-Bug: #2001001
This commit is contained in:
parent
b92697b1a3
commit
e72a6cf6da
@ -297,7 +297,8 @@ class OpenStackCloud(
|
||||
self._legacy_clients = {}
|
||||
self._raw_clients = {}
|
||||
|
||||
self._local_ipv6 = _utils.localhost_supports_ipv6()
|
||||
self._local_ipv6 = (
|
||||
_utils.localhost_supports_ipv6() if not self.force_ipv4 else False)
|
||||
|
||||
self.cloud_config = cloud_config
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user