fix: add dracut on opensuse 12.3
This commit is contained in:
parent
6ffaa3dad4
commit
f44c275c9d
@ -188,6 +188,8 @@ func (suse OpenSUSE) runs() (commands []string) {
|
|||||||
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")
|
cmdf("rm /etc/zypp/repos.d/dracut.repo")
|
||||||
|
case "12.3":
|
||||||
|
cmdf("zypper -n install %s dracut", params)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.HasPrefix(suse.release, "12") {
|
if !strings.HasPrefix(suse.release, "12") {
|
||||||
|
Loading…
Reference in New Issue
Block a user