fix: remove old centos repos
This commit is contained in:
parent
51158fae47
commit
daf2e9d474
@ -102,6 +102,7 @@ func (centos CentOS) runs() (commands []string) {
|
|||||||
repos = append(repos, fmt.Sprintf(repofmt, ver, "os", ver, "os", ver, "os"))
|
repos = append(repos, fmt.Sprintf(repofmt, ver, "os", ver, "os", ver, "os"))
|
||||||
repos = append(repos, fmt.Sprintf(repofmt, ver, "updates", ver, "updates", ver, "updates"))
|
repos = append(repos, fmt.Sprintf(repofmt, ver, "updates", ver, "updates", ver, "updates"))
|
||||||
}
|
}
|
||||||
|
cmdf("rm /etc/yum.repos.d/*")
|
||||||
case "8":
|
case "8":
|
||||||
repofmt := "[%s-%s]\\n" +
|
repofmt := "[%s-%s]\\n" +
|
||||||
"name=CentOS-%s - %s\\n" +
|
"name=CentOS-%s - %s\\n" +
|
||||||
|
Loading…
Reference in New Issue
Block a user