update pci_passthrough template variables
While it works as is, the output does not match nova docs. nova_pci_passthrough_whitelist: '{ "vendor_id": "10de", "product_id": "15f7" }' outputting passthrough_whitelist = "{ "vendor_id": "10de", "product_id": "15f7" }" instead of the following as expected passthrough_whitelist = { "vendor_id": "10de", "product_id": "15f7" } same thing happens with the alias lines. This hits all release back to at least pike. Change-Id: I5fc34689eb12e6bd9b4f8977f2b9eebe637f11ec
This commit is contained in:
parent
76a1b307a0
commit
4d01d54269
|
@ -352,12 +352,12 @@ enabled_vgpu_types = {{ enabled_vgpu_types | join(',') }}
|
|||
[pci]
|
||||
{% if nova_pci_passthrough_whitelist %}
|
||||
# White list of PCI devices available to VMs.
|
||||
passthrough_whitelist = "{{ nova_pci_passthrough_whitelist }}"
|
||||
passthrough_whitelist = {{ nova_pci_passthrough_whitelist }}
|
||||
{% endif %}
|
||||
{% if nova_pci_alias %}
|
||||
# PCI Alias
|
||||
{% for item in nova_pci_alias %}
|
||||
alias = "{{item}}"
|
||||
alias = {{item}}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue