From 4660699c2ccc28a2d0166563ff0919d279c718c7 Mon Sep 17 00:00:00 2001 From: "Cody A.W. Somerville" Date: Tue, 29 Jan 2013 04:35:18 -0500 Subject: [PATCH] Implements ability to upload local image to glance. Change-Id: Icb53633bb1d5e1dd827f24d81ce908ed497b44f3 Implements: blueprint image-upload --- openstack_dashboard/test/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openstack_dashboard/test/settings.py b/openstack_dashboard/test/settings.py index 8c09dd0..aead326 100644 --- a/openstack_dashboard/test/settings.py +++ b/openstack_dashboard/test/settings.py @@ -55,6 +55,11 @@ HORIZON_CONFIG = { 'unauthorized': UNAUTHORIZED}, } +# Set to True to allow users to upload images to glance via Horizon server. +# When enabled, a file form field will appear on the create image form. +# See documentation for deployment considerations. +HORIZON_IMAGES_ALLOW_UPLOAD = True + AVAILABLE_REGIONS = [ ('http://localhost:5000/v2.0', 'local'), ('http://remote:5000/v2.0', 'remote'),