Set 'show_image_direct_url' in openstack >= kilo
To expose the image location in the API for versions below Mitaka, show_image_direct_url should be set to True. For Mitaka specifically, show_multiple_locations should also be set. This change sets both of these values when show_multiple_locations is set in the charm. Change-Id: Ibb3b6ecd92834f6345d21801942da0d3466d5bdc Closes-Bug: #1645703
This commit is contained in:
parent
6c7edc8221
commit
92c06de6aa
@ -26,6 +26,7 @@ registry_client_protocol = http
|
||||
|
||||
{% if expose_image_locations -%}
|
||||
show_multiple_locations = {{ expose_image_locations }}
|
||||
show_image_direct_url = {{ expose_image_locations }}
|
||||
{% endif -%}
|
||||
|
||||
{% if api_config_flags -%}
|
||||
|
@ -26,6 +26,7 @@ registry_client_protocol = http
|
||||
|
||||
{% if expose_image_locations -%}
|
||||
show_multiple_locations = {{ expose_image_locations }}
|
||||
show_image_direct_url = {{ expose_image_locations }}
|
||||
{% endif -%}
|
||||
|
||||
{% if api_config_flags -%}
|
||||
|
Loading…
Reference in New Issue
Block a user