Browse code

Re-enable direct URL

This parameter is needed in order to test the copy on write cloning
functionnality.

Change-Id: Ie8179a68827acba2dd8614ea9c6cecf2ddb20e29
Signed-off-by: Sébastien Han <seb@redhat.com>

Sébastien Han authored on 2015/07/27 21:29:57
Showing 1 changed files
... ...
@@ -267,6 +267,7 @@ function configure_ceph_glance {
267 267
     sudo ceph -c ${CEPH_CONF_FILE} auth get-or-create client.${GLANCE_CEPH_USER} mon "allow r" osd "allow class-read object_prefix rbd_children, allow rwx pool=${GLANCE_CEPH_POOL}" | sudo tee ${CEPH_CONF_DIR}/ceph.client.${GLANCE_CEPH_USER}.keyring
268 268
     sudo chown ${STACK_USER}:$(id -g -n $whoami) ${CEPH_CONF_DIR}/ceph.client.${GLANCE_CEPH_USER}.keyring
269 269
 
270
+    iniset $GLANCE_API_CONF DEFAULT show_image_direct_url True
270 271
     iniset $GLANCE_API_CONF glance_store default_store rbd
271 272
     iniset $GLANCE_API_CONF glance_store stores "file, http, rbd"
272 273
     iniset $GLANCE_API_CONF glance_store rbd_store_ceph_conf $CEPH_CONF_FILE