From 8a19ea495a17885a1f0b2022b736063281010a64 Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sat, 27 Jan 2024 22:01:47 +0000 Subject: [PATCH] 3 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f150abc..83d6a25 100644 --- a/Makefile +++ b/Makefile @@ -20,3 +20,6 @@ sysprep: dnf clean all cloud-init clean echo -n "" > /etc/machine-id + +cleanup-old-kernels: + dnf remove -y --oldinstallonly --setopt installonly_limit=2 kernel