nova-libvirt: use dmidecode and xen-utils on archs which have them

Instead of listing architectures which do not have those packages we
should list those which have. Makes adding s390x easier.

Change-Id: I68aa6f4b7fb1c8d63c84f3436a34399cc9644060
This commit is contained in:
Marcin Juszkiewicz 2020-03-03 14:23:06 +01:00
parent 5f21b322d0
commit 1c8c9b42f2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
] %}
{% endif %}
{% if base_arch != "ppc64le" %}
{% if base_arch in ['aarch64', 'x86_64'] %}
{% set nova_libvirt_packages = nova_libvirt_packages + [
'dmidecode',
'xen-utils'