Merge "Make image_cache_max_size user configurable"

This commit is contained in:
Jenkins 2014-12-19 18:20:06 +00:00 committed by Gerrit Code Review
commit fddf082394
2 changed files with 3 additions and 2 deletions

View File

@ -69,7 +69,8 @@ glance_swift_store_region: SomeRegion
# `publicURL` to communicate with swift over the public network
glance_swift_store_endpoint_type: internalURL
glance_notification_driver: noop
# Set glance cache size in bytes, should be less than container size. Defaults to 10GiB
#glance_image_cache_max_size: 4294967296
## Heat Options
heat_stack_domain_admin_password:

View File

@ -7,7 +7,7 @@ admin_tenant_name = service
use_syslog = False
image_cache_dir = /var/lib/glance/cache/
image_cache_stall_time = 86400
image_cache_max_size = 10737418240
image_cache_max_size = {{ glance_image_cache_max_size|default(10737418240) }}
registry_host = {{ registry_host }}
registry_port = 9191
auth_url = {{ auth_admin_uri }}