nova-compute: daxio on CentOS 8 is x86-64 only

I somehow missed that when it was sent for review.

Change-Id: Iabacaeccdb360544125ad910d5c3f5f9d895dac5
This commit is contained in:
Marcin Juszkiewicz 2020-12-18 10:48:51 +01:00
parent 1d36ae4648
commit edb6b60a98
1 changed files with 14 additions and 2 deletions

View File

@ -14,7 +14,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set nova_compute_packages = [
'ceph-common',
'daxio',
'device-mapper-multipath',
'e2fsprogs',
'genisoimage',
@ -33,6 +32,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'xfsprogs'
] %}
# NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
{% if base_arch == 'x86_64' %}
{% set nova_compute_packages = nova_compute_packages + [
'daxio'
] %}
{% endif %}
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
{% elif base_package_type == 'deb' %}
@ -80,7 +86,6 @@ RUN rm -f /etc/nova/nova-compute.conf
{% set nova_compute_packages = [
'ceph-common',
'daxio',
'device-mapper-multipath',
'dosfstools',
'e2fsprogs',
@ -100,6 +105,13 @@ RUN rm -f /etc/nova/nova-compute.conf
'xfsprogs'
] %}
# NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
{% if base_arch == 'x86_64' %}
{% set nova_compute_packages = nova_compute_packages + [
'daxio'
] %}
{% endif %}
{% elif base_package_type == 'deb' %}
{% set nova_compute_packages = [