Fix the nova.conf mustache template
The nova.conf mustache template is not correct in the section that enables the passthrough settings. The template has two problems: - comments are not rendered - as all variables are HTML-escaped by default in a mustache template we want to use triple braces to return unescaped HTML. This matches https://review.openstack.org/#/c/91625/3 Closes-bug: #1324598 Change-Id: Ib5831d1fd26e0f5b2d023d7f892420b776892ca1
This commit is contained in:
parent
bb83268ce8
commit
bc5f5cec5f
|
@ -208,10 +208,15 @@ block_migration_flag=VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED,VIR_MIGRATE_PEER2PEE
|
|||
|
||||
{{#nova}}
|
||||
{{#config}}
|
||||
{{#comment}} repeats for each section {{/comment}}
|
||||
[{{section}}]
|
||||
[{{{section}}}]
|
||||
{{#values}}
|
||||
{{option}}={{value}}
|
||||
{{#comment}}
|
||||
# {{{.}}}
|
||||
{{/comment}}
|
||||
{{#option}}
|
||||
{{{option}}}={{{value}}}
|
||||
{{/option}}
|
||||
{{/values}}
|
||||
|
||||
{{/config}}
|
||||
{{/nova}}
|
||||
|
|
Loading…
Reference in New Issue