Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package cleanup for EL 8+ cloud-init images #3600

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,24 @@ endif::[]
----
# update-ca-trust extract
----
. Clean the image:
. Stop the `rsyslog` and `auditd` services:
+
[options="nowrap" subs="+quotes,attributes"]
----
# systemctl stop rsyslog
# systemctl stop auditd
----
. Clean packages on the image:
* On {EL} 8 and later:
+
[options="nowrap" subs="+quotes,attributes"]
----
# dnf remove --oldinstallonly
----
* On {EL} 7 and earlier:
+
[options="nowrap" subs="+quotes,attributes"]
----
# package-cleanup --oldkernels --count=1
# dnf clean all
----
Expand Down
Loading