diff --git a/elements/fedora/finalise.d/01-clean-old-kernels.sh b/elements/fedora/finalise.d/01-clean-old-kernels.sh new file mode 100755 index 000000000..8c34e0988 --- /dev/null +++ b/elements/fedora/finalise.d/01-clean-old-kernels.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +install-packages yum-utils + +package-cleanup --oldkernels -y --count=1