Adds property to selectively enable image caching.
The image-property `cache_in_nova` can be used to choose which images should be cached in Nova. One use-case would be to cache base images but not any customer snapshots. Change-Id: I1b8ac914a6effd4cd4653aae7e4eac9d14d0e7bd
This commit is contained in:
@@ -406,9 +406,12 @@ global_opts = [
|
||||
cfg.ListOpt('isolated_hosts',
|
||||
default=[],
|
||||
help='Host reserved for specific images'),
|
||||
cfg.BoolOpt('cache_images',
|
||||
default=True,
|
||||
help='Cache glance images locally'),
|
||||
cfg.StrOpt('cache_images',
|
||||
default='all',
|
||||
help='Cache glance images locally. `all` will cache all'
|
||||
' images, `some` will only cache images that have the'
|
||||
' image_property `cache_in_nova=True`, and `none` turns'
|
||||
' off caching entirely'),
|
||||
cfg.BoolOpt('use_cow_images',
|
||||
default=True,
|
||||
help='Whether to use cow images'),
|
||||
|
||||
Reference in New Issue
Block a user