fix: cleanup dracut repo after install
This commit is contained in:
parent
8516ff9e91
commit
6ffaa3dad4
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user