diskimage-builder/elements/fedora/finalise.d/01-clean-old-kernels.sh
Lucas Alvares Gomes 0181b177c2 Remove old-kernels for fedora
Remove the old kernels on fedora to save some space in the image.

Change-Id: Ia7ace63c286052713ac1ef3092373cc2712db11a
2013-10-17 11:51:44 +01:00

6 lines
83 B
Bash
Executable File

#!/bin/bash
install-packages yum-utils
package-cleanup --oldkernels -y --count=1