From 3dee90421587a71e70931728604e9a275c63d8f9 Mon Sep 17 00:00:00 2001
From: zhubingbing <zhu.bingbing@99cloud.net>
Date: Fri, 10 Nov 2017 08:38:57 +0000
Subject: [PATCH] Remove show_image_direct_url for ceph plugin

To fix it we change the default param to True.
'show_image_direct_url' will be overridden.
Currently glance v2 doesn't allow to specify custom
locations for image by default, it returns 403.


Closes-Bug: #1740223

Related to https://review.openstack.org/#/c/279630/2

Change-Id: Ib4dd54c69830ab8f3f9812877b026f81c23c224a
---
 ansible/roles/glance/templates/glance-api.conf.j2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2
index 12d1b184db..bd154bc26d 100644
--- a/ansible/roles/glance/templates/glance-api.conf.j2
+++ b/ansible/roles/glance/templates/glance-api.conf.j2
@@ -12,7 +12,6 @@ workers = {{ openstack_service_workers }}
 registry_host = {{ kolla_internal_fqdn }}
 
 {% if enable_ceph | bool %}
-show_image_direct_url= True
 show_multiple_locations = True
 {% endif %}