diff --git a/distro/centos/centos.go b/distro/centos/centos.go index d70e749..47e31ed 100644 --- a/distro/centos/centos.go +++ b/distro/centos/centos.go @@ -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, "updates", ver, "updates", ver, "updates")) } + cmdf("rm /etc/yum.repos.d/*") case "8": repofmt := "[%s-%s]\\n" + "name=CentOS-%s - %s\\n" +