`show_image_direct_url` was toggled to False by default.
* `show_multiple_locations` overrides the `show_image_direct_url`
option since mitaka release.
According to:
https://docs.openstack.org/mitaka/config-reference/image-service/api.html
Change-Id: Ifdf38ddd4d86cc496c70da508c8d102f4ab02da0
Related-Prod: PROD-28990
diff --git a/glance/files/mitaka/glance-api.conf.Debian b/glance/files/mitaka/glance-api.conf.Debian
index 2864776..af1223b 100644
--- a/glance/files/mitaka/glance-api.conf.Debian
+++ b/glance/files/mitaka/glance-api.conf.Debian
@@ -84,7 +84,7 @@
# properties. Revealing storage location can be a security risk, so
# use this setting with caution! (boolean value)
#show_image_direct_url = false
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# Whether to include the backend image locations in image properties.
# For example, if using the file system store a URL of
diff --git a/glance/files/newton/glance-api.conf.Debian b/glance/files/newton/glance-api.conf.Debian
index b05b12a..89169b2 100644
--- a/glance/files/newton/glance-api.conf.Debian
+++ b/glance/files/newton/glance-api.conf.Debian
@@ -314,7 +314,7 @@
#
# (boolean value)
#show_image_direct_url = false
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# DEPRECATED:
# Show all image locations when returning an image.
diff --git a/glance/files/ocata/glance-api.conf.Debian b/glance/files/ocata/glance-api.conf.Debian
index 0df2de0..c5ad158 100644
--- a/glance/files/ocata/glance-api.conf.Debian
+++ b/glance/files/ocata/glance-api.conf.Debian
@@ -314,7 +314,7 @@
#
# (boolean value)
#show_image_direct_url = false
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# DEPRECATED:
# Show all image locations when returning an image.
diff --git a/glance/files/pike/glance-api.conf.Debian b/glance/files/pike/glance-api.conf.Debian
index 62332c6..f4a6b1c 100644
--- a/glance/files/pike/glance-api.conf.Debian
+++ b/glance/files/pike/glance-api.conf.Debian
@@ -322,7 +322,7 @@
#
# (boolean value)
#show_image_direct_url = false
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# DEPRECATED:
# Show all image locations when returning an image.
diff --git a/glance/files/queens/glance-api.conf.Debian b/glance/files/queens/glance-api.conf.Debian
index 8a6634d..d092a42 100644
--- a/glance/files/queens/glance-api.conf.Debian
+++ b/glance/files/queens/glance-api.conf.Debian
@@ -333,7 +333,7 @@
#
# (boolean value)
#show_image_direct_url = false
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# DEPRECATED:
# Show all image locations when returning an image.
diff --git a/glance/files/rocky/glance-api.conf.Debian b/glance/files/rocky/glance-api.conf.Debian
index 2a07551..88786ee 100644
--- a/glance/files/rocky/glance-api.conf.Debian
+++ b/glance/files/rocky/glance-api.conf.Debian
@@ -383,7 +383,7 @@
# * location_strategy
#
# (boolean value)
-show_image_direct_url = {{ server.get('show_image_direct_url', True)|lower }}
+show_image_direct_url = {{ server.get('show_image_direct_url', False)|lower }}
# DEPRECATED:
# Show all image locations when returning an image.