summaryrefslogtreecommitdiff
path: root/glance/common/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'glance/common/config.py')
-rw-r--r--glance/common/config.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/glance/common/config.py b/glance/common/config.py
index b5fe91ad6..6b6f24410 100644
--- a/glance/common/config.py
+++ b/glance/common/config.py
@@ -98,6 +98,18 @@ image_format_opts = [
"image attribute"),
deprecated_opts=[cfg.DeprecatedOpt('disk_formats',
group='DEFAULT')]),
+ cfg.ListOpt('vmdk_allowed_types',
+ default=['streamOptimized', 'monolithicSparse'],
+ help=_("A list of strings describing allowed VMDK "
+ "'create-type' subformats that will be allowed. "
+ "This is recommended to only include "
+ "single-file-with-sparse-header variants to avoid "
+ "potential host file exposure due to processing named "
+ "extents. If this list is empty, then no VDMK image "
+ "types allowed. Note that this is currently only "
+ "checked during image conversion (if enabled), and "
+ "limits the types of VMDK images we will convert "
+ "from.")),
]
task_opts = [
cfg.IntOpt('task_time_to_live',