Commit a4c2c77b authored by Kostas Papadimitriou's avatar Kostas Papadimitriou

ui: Remove UI_SNAPSHOTS_ENABLED setting

in favor of CYCLADES_SNAPSHOTS_ENABLED setting.
parent 4a027cf4
......@@ -21,6 +21,12 @@ Admin
* The ``ADMIN_BASE_URL`` setting should be adjusted in every node that Admin
is installed.
UI
--
* Remove UI_SNAPSHOTS_ENABLED setting. UI now uses CYCLADES_SNAPSHOTS_ENABLED
setting to resolve whether or not snapshot functionality should be enabled.
v0.16rc1
========
......
......@@ -181,6 +181,3 @@
#
## A list of os family names which don't support ssh public key injection
#UI_SSH_SUPPORT_OSFAMILY_EXCLUDE_LIST = ['windows']
#
## Enable/disable snapshot listing and volume snapshot actions in UI
#UI_SNAPSHOTS_ENABLED = True
......@@ -148,8 +148,8 @@ DEFAULT_HOTPLUG_ENABLED = getattr(settings, "CYCLADES_GANETI_USE_HOTPLUG",
HOTPLUG_ENABLED = getattr(settings, "UI_HOTPLUG_ENABLED",
DEFAULT_HOTPLUG_ENABLED)
VOLUME_MAX_SIZE = getattr(settings, "CYCLADES_VOLUME_MAX_SIZE", 200);
SNAPSHOTS_ENABLED = getattr(settings, "UI_SNAPSHOTS_ENABLED", True);
VOLUME_MAX_SIZE = getattr(settings, "CYCLADES_VOLUME_MAX_SIZE", 200)
SNAPSHOTS_ENABLED = getattr(settings, "CYCLADES_SNAPSHOTS_ENABLED", True)
def template(name, request, context):
template_path = os.path.join(os.path.dirname(__file__), "templates/")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment