Skip to content

Commit 2559f55

Browse files
authored
Clean yum after usage
1 parent d07ad0a commit 2559f55

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
@@ -418,7 +418,8 @@ kolla_build_blocks:
418418
{% if base_package_type == 'rpm' %}
419419
ADD plugins-archive /
420420
python3 -m pip --no-cache-dir install /plugins/* \
421-
&& dnf install python3-libvirt python3-ethtool
421+
&& dnf install python3-libvirt python3-ethtool -y \
422+
&& dnf clean all
422423
{% endif %}
423424
{% endraw %}
424425
{% endif %}
@@ -439,7 +440,8 @@ kolla_build_blocks:
439440
{% if base_package_type == 'rpm' %}
440441
ADD plugins-archive /
441442
python3 -m pip --no-cache-dir install /plugins/* \
442-
&& dnf install python3-libvirt python3-ethtool
443+
&& dnf install python3-libvirt python3-ethtool -y \
444+
&& dnf clean all
443445
{% endif %}
444446
{% endraw %}
445447
{% endif %}

0 commit comments

Comments
 (0)