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