Remove old-kernels for fedora

Remove the old kernels on fedora to save some space in the image.

Change-Id: Ia7ace63c286052713ac1ef3092373cc2712db11a
This commit is contained in:
Lucas Alvares Gomes 2013-10-17 11:51:44 +01:00
parent d23ba2a8a8
commit 0181b177c2

View File

@ -0,0 +1,5 @@
#!/bin/bash
install-packages yum-utils
package-cleanup --oldkernels -y --count=1