diff --git a/iso/py/util/dnf_utils.py b/iso/py/util/dnf_utils.py index b75cbc1..bbff4b1 100644 --- a/iso/py/util/dnf_utils.py +++ b/iso/py/util/dnf_utils.py @@ -809,6 +809,7 @@ class RepoSync: repoclosure_entry_point_open.write('#!/bin/bash\n') repoclosure_entry_point_open.write('set -o pipefail\n') repoclosure_entry_point_open.write('/usr/bin/dnf install dnf-plugins-core -y\n') + repoclosure_entry_point_open.write('/usr/bin/dnf clean all\n') repoclosure_entry_point_open.write(repoclosure_cmd + '\n') repoclosure_entry_point_open.close() os.chmod(repoclosure_entry_point_sh, 0o755)