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:
parent
d23ba2a8a8
commit
0181b177c2
5
elements/fedora/finalise.d/01-clean-old-kernels.sh
Executable file
5
elements/fedora/finalise.d/01-clean-old-kernels.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install-packages yum-utils
|
||||||
|
|
||||||
|
package-cleanup --oldkernels -y --count=1
|
Loading…
Reference in New Issue
Block a user