File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
14
14
15
15
{% set nova_compute_packages = [
16
16
'ceph-common' ,
17
- 'daxio' ,
18
17
'device-mapper-multipath' ,
19
18
'e2fsprogs' ,
20
19
'genisoimage' ,
@@ -33,6 +32,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
33
32
'xfsprogs'
34
33
] %}
35
34
35
+ # NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
36
+ {% if base_arch == 'x86_64' %}
37
+ {% set nova_compute_packages = nova_compute_packages + [
38
+ 'daxio'
39
+ ] %}
40
+ {% endif %}
41
+
36
42
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
37
43
38
44
{% elif base_package_type == 'deb' %}
@@ -80,7 +86,6 @@ RUN rm -f /etc/nova/nova-compute.conf
80
86
81
87
{% set nova_compute_packages = [
82
88
'ceph-common' ,
83
- 'daxio' ,
84
89
'device-mapper-multipath' ,
85
90
'dosfstools' ,
86
91
'e2fsprogs' ,
@@ -100,6 +105,13 @@ RUN rm -f /etc/nova/nova-compute.conf
100
105
'xfsprogs'
101
106
] %}
102
107
108
+ # NOTE(hrw): daxio is part of pmdk which is x86-64 only in CentOS 8
109
+ {% if base_arch == 'x86_64' %}
110
+ {% set nova_compute_packages = nova_compute_packages + [
111
+ 'daxio'
112
+ ] %}
113
+ {% endif %}
114
+
103
115
{% elif base_package_type == 'deb' %}
104
116
105
117
{% set nova_compute_packages = [
You can’t perform that action at this time.
0 commit comments