charm-nova-compute/templates/parts/section-ephemeral
Andrey Pavlov 88f14e168b Add ability to provide another ephemeral storage for nova-compute
Nova has configuration option to specify ephemeral storage - images_type
But right now this charm allows to specify only ceph via relation to ceph.
This changeset adds ability to specify any images_type and add ability
to provide configuration for the ephemeral backend via relation.
Same functionality implemented in cinder charm via storage-backend interface.

Change-Id: Id851e172aed53723d4d8fb6623ff1c4b4a03fefa
2016-06-17 23:44:45 +03:00

9 lines
184 B
Plaintext

{% for section in sections -%}
{% if section != 'DEFAULT' -%}
[{{ section }}]
{% for key, value in sections[section] -%}
{{ key }} = {{ value }}
{% endfor %}
{% endif %}
{%- endfor %}