Add the HORIZON_IMAGES_UPLOAD_MODE feature

Change-Id: I5d648c62d471c47ee79f0290baf53f93beb11da8
This commit is contained in:
Proskurin Kirill 2016-11-28 14:32:13 +00:00
parent f12f87c6fe
commit a272ad00c8
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ configs:
cont: 80
ingress: horizon
secret_key: secret
images_upload_mode: legacy
wsgi:
processes: 6

View File

@ -225,6 +225,11 @@ OPENSTACK_KEYSTONE_BACKEND = {
LAUNCH_INSTANCE_LEGACY_ENABLED = False
LAUNCH_INSTANCE_NG_ENABLED = True
# "off" disables the ability to upload images via Horizon. "legacy" enables
# local file upload by piping the image file through the Horizon?s web-server.
# "direct" sends the image file directly from the web browser to Glance.
HORIZON_IMAGES_UPLOAD_MODE = "{{ horizon.images_upload_mode }}"
# A dictionary of settings which can be used to provide the default values for
# properties found in the Launch Instance modal.
#LAUNCH_INSTANCE_DEFAULTS = {