Merge "Exclude empty string from no_proxy" into stable/wallaby
This commit is contained in:
commit
2a4feb48fd
@ -408,8 +408,7 @@ class DeployOvercloud(command.Command):
|
|||||||
no_proxy_list = map(utils.bracket_ipv6,
|
no_proxy_list = map(utils.bracket_ipv6,
|
||||||
[no_proxy, overcloud_ip_or_fqdn,
|
[no_proxy, overcloud_ip_or_fqdn,
|
||||||
keystone_admin_ip])
|
keystone_admin_ip])
|
||||||
os.environ['no_proxy'] = ','.join(
|
os.environ['no_proxy'] = ','.join([x for x in no_proxy_list if x])
|
||||||
[x for x in no_proxy_list if x is not None])
|
|
||||||
|
|
||||||
utils.remove_known_hosts(overcloud_ip_or_fqdn)
|
utils.remove_known_hosts(overcloud_ip_or_fqdn)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user