Put passthrough_whitelist in the [pci] section

pci_passthrough_whitelist is now deprecated.
https://docs.openstack.org/nova/latest/configuration/config.html#pci.alias

Change-Id: I2a3e266e3066d6c271a29038e814ff8e3090fafb
This commit is contained in:
Adrien Cunin 2018-07-20 16:13:12 +02:00
parent 783ec21ca7
commit a383124336

View File

@ -59,11 +59,6 @@ libvirt_vif_type = ethernet
vif_plugging_timeout = 10
vif_plugging_is_fatal = False
{% if nova_pci_passthrough_whitelist %}
# PCI Passthrough
pci_passthrough_whitelist = "{{ nova_pci_passthrough_whitelist }}"
{% endif %}
# Hypervisor
default_ephemeral_format = ext4
@ -301,6 +296,12 @@ auth_url = {{ keystone_service_adminurl }}
insecure = {{ keystone_service_adminuri_insecure | bool }}
{% endif %}
{% if nova_pci_passthrough_whitelist %}
# PCI Passthrough
[pci]
passthrough_whitelist = "{{ nova_pci_passthrough_whitelist }}"
{% endif %}
[wsgi]
api_paste_config = /etc/nova/api-paste.ini
{% if nova_external_ssl | bool %}