@@ -32,6 +32,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
32
32
'xfsprogs'
33
33
] %}
34
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
+
35
42
{{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
36
43
37
44
{% elif base_package_type == 'deb' %}
@@ -48,6 +55,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
48
55
'openvswitch-switch' ,
49
56
'open-iscsi' ,
50
57
'parted' ,
58
+ 'pmdk-tools' ,
51
59
'python3-cephfs' ,
52
60
'python3-guestfs' ,
53
61
'python3-ironicclient' ,
@@ -64,7 +72,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
64
72
{% if base_distro == 'debian' or
65
73
(base_distro == 'ubuntu' and base_arch == 'x86_64' ) %}
66
74
{% set nova_compute_packages = nova_compute_packages + [
67
- 'ndctl'
75
+ 'ndctl' ,
68
76
] %}
69
77
{% endif %}
70
78
@@ -97,6 +105,13 @@ RUN rm -f /etc/nova/nova-compute.conf
97
105
'xfsprogs'
98
106
] %}
99
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
+
100
115
{% elif base_package_type == 'deb' %}
101
116
102
117
{% set nova_compute_packages = [
@@ -109,6 +124,7 @@ RUN rm -f /etc/nova/nova-compute.conf
109
124
'nfs-common' ,
110
125
'open-iscsi' ,
111
126
'parted' ,
127
+ 'pmdk-tools' ,
112
128
'python3-cephfs' ,
113
129
'python3-guestfs' ,
114
130
'python3-libvirt' ,
@@ -131,7 +147,7 @@ RUN rm -f /etc/nova/nova-compute.conf
131
147
{% if base_distro == 'debian' or
132
148
(base_distro == 'ubuntu' and base_arch == 'x86_64' ) %}
133
149
{% set nova_compute_packages = nova_compute_packages + [
134
- 'ndctl'
150
+ 'ndctl' ,
135
151
] %}
136
152
{% endif %}
137
153
0 commit comments