File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
39
39
] %}
40
40
{% endif %}
41
41
42
- {{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
42
+ {{ macros.install_packages(nova_compute_packages | customizable("packages")) }} \
43
+ && dnf remove -y linux-firmware \
44
+ && dnf clean all
43
45
44
46
{% elif base_package_type == 'deb' %}
45
47
@@ -112,6 +114,10 @@ RUN rm -f /etc/nova/nova-compute.conf
112
114
] %}
113
115
{% endif %}
114
116
117
+ {{ macros.install_packages(nova_compute_packages | customizable("packages")) }} \
118
+ && dnf remove -y linux-firmware \
119
+ && dnf clean all
120
+
115
121
{% elif base_package_type == 'deb' %}
116
122
117
123
{% set nova_compute_packages = [
@@ -151,11 +157,11 @@ RUN rm -f /etc/nova/nova-compute.conf
151
157
] %}
152
158
{% endif %}
153
159
154
- RUN mkdir -p /etc/ceph
160
+ RUN mkdir -p /etc/ceph \
161
+ && {{ macros.install_packages(nova_compute_packages | customizable("packages"), chain=True) }}
155
162
156
163
{% endif %}
157
164
158
- {{ macros.install_packages(nova_compute_packages | customizable("packages")) }}
159
165
160
166
{% set nova_compute_pip_packages = [
161
167
'oslo-vmware'
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ CentOS ``nova-compute`` image has ``linux-firmware`` package removed to save
5
+ image size by ~500MB.
6
+ `LP#1926801 <https://launchpad.net/bugs/1926801>`__
You can’t perform that action at this time.
0 commit comments