Ensure create a volume from image
This patch aims to add this extra config based on the openstack docs[1] that allows an user to create a volume from an image [1] https://docs.openstack.org/cinder/latest/admin/blockstorage-volume-backed-image.html Change-Id: Iefdaf569dfdab4e28a8fe41a0846d103b5a7ce23 Closes-Bug: 1812185
This commit is contained in:
parent
b047ad2109
commit
3dd035bbf8
@ -89,6 +89,9 @@ default_volume_type = {{ cinder_default_volume_type }}
|
|||||||
{% if cinder_backends is defined %}
|
{% if cinder_backends is defined %}
|
||||||
enabled_backends={% for backend in cinder_backends|dictsort %}{{ backend.0 }}{% if not loop.last %},{% endif %}{% endfor %}
|
enabled_backends={% for backend in cinder_backends|dictsort %}{{ backend.0 }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||||
|
|
||||||
|
# Ensure that user can create a new volume by cloning image-volume
|
||||||
|
allowed_direct_url_schemes = cinder
|
||||||
|
|
||||||
# All given backend(s)
|
# All given backend(s)
|
||||||
{% for backend_section in cinder_backends|dictsort %}
|
{% for backend_section in cinder_backends|dictsort %}
|
||||||
[{{ backend_section.0 }}]
|
[{{ backend_section.0 }}]
|
||||||
|
Loading…
Reference in New Issue
Block a user