This is essentially a copy from nova.virt.images.py
Some slight modifications, but at some point
-we should look at maybe pushign this up to OSLO
+we should look at maybe pushing this up to Oslo
"""
LOG = logging.getLogger(__name__)
image_helper_opt = [cfg.StrOpt('image_conversion_dir',
- default='/tmp',
- help='parent dir for tempdir used for image conversion'), ]
+ default='$state_path/conversion',
+ help='Directory used for temporary storage '
+ 'during image conversion'), ]
CONF = cfg.CONF
CONF.register_opts(image_helper_opt)
# Options defined in cinder.image.image_utils
#
-# parent dir for tempdir used for image conversion (string
-# value)
-#image_conversion_dir=/tmp
+# Directory used for temporary storage during image conversion
+# (string value)
+#image_conversion_dir=$state_path/conversion
#