~james-page/charms/trusty/nova-compute/nova-cinder-rename

« back to all changes in this revision

Viewing changes to templates/kilo/nova.conf

  • Committer: Skyler Berg
  • Date: 2015-09-02 19:32:23 UTC
  • Revision ID: sberg@tintri.com-20150902193223-d1ecq894c534j5hn
Add tintri-nova-configuration interface

To allow the cinder-tintri charm to properly set nova's NFS options, we need a
new interface in this charm.  This commit add such an interface.  Additionally,
this commit updates nova.conf to allow arbitrary values to be set in the
libvirt section.  This is necessary for the cinder-tintri charm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
{% if disk_cachemodes -%}
162
162
disk_cachemodes = {{ disk_cachemodes }}
163
163
{% endif -%}
 
164
{% if sections and 'libvirt' in sections -%}
 
165
{% for key, value in sections['libvirt'] -%}
 
166
{{ key }} = {{ value }}
 
167
{% endfor -%}
 
168
{% endif -%}
164
169
 
165
170
{% include "parts/section-database" %}
166
171