fix: cleanup dracut repo after install
This commit is contained in:
		| @@ -187,6 +187,7 @@ func (suse OpenSUSE) runs() (commands []string) { | |||||||
| 	switch suse.release { | 	switch suse.release { | ||||||
| 	case "12.1", "12.2": | 	case "12.1", "12.2": | ||||||
| 		cmdf("zypper -n install %s -r dracut dracut", params) | 		cmdf("zypper -n install %s -r dracut dracut", params) | ||||||
|  | 		cmdf("rm /etc/zypp/repos.d/dracut.repo") | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if !strings.HasPrefix(suse.release, "12") { | 	if !strings.HasPrefix(suse.release, "12") { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user