Skip to content

Commit 77e5b0e

Browse files
committed
Clean yum after usage
1 parent 73c73ec commit 77e5b0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

etc/kayobe/kolla.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,8 @@ kolla_build_blocks:
429429
{% if base_package_type == 'rpm' %}
430430
ADD plugins-archive /
431431
python3 -m pip --no-cache-dir install /plugins/* \
432-
&& dnf install python3-libvirt python3-ethtool
432+
&& dnf install python3-libvirt python3-ethtool -y \
433+
&& dnf clean all
433434
{% endif %}
434435
{% endraw %}
435436
{% endif %}
@@ -450,7 +451,8 @@ kolla_build_blocks:
450451
{% if base_package_type == 'rpm' %}
451452
ADD plugins-archive /
452453
python3 -m pip --no-cache-dir install /plugins/* \
453-
&& dnf install python3-libvirt python3-ethtool
454+
&& dnf install python3-libvirt python3-ethtool -y \
455+
&& dnf clean all
454456
{% endif %}
455457
{% endraw %}
456458
{% endif %}

0 commit comments

Comments
 (0)