fix: cleanup boot and modules dirs
This commit is contained in:
parent
f44c275c9d
commit
3a1fc86251
@ -199,6 +199,9 @@ func (suse OpenSUSE) runs() (commands []string) {
|
||||
if strings.HasPrefix(suse.release, "13") {
|
||||
cmdf("zypper --no-refresh -n install %s kernel-firmware", params)
|
||||
}
|
||||
|
||||
cmdf("rm -rf /boot/*")
|
||||
cmdf("rm -rf /lib/modules/*")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user