From 7b3c9273135670bde9607775ce63d47f670dd1c5 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sat, 5 Oct 2024 17:20:52 +0000 Subject: [PATCH] fix: remove mirror.centos.org --- distro/centos/centos.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/distro/centos/centos.go b/distro/centos/centos.go index bee6986..5cb1268 100644 --- a/distro/centos/centos.go +++ b/distro/centos/centos.go @@ -91,15 +91,11 @@ func (centos CentOS) runs() (commands []string) { "7.0.1406", "7.1.1503", "7.2.1511", "7.3.1611", "7.4.1708", "7.5.1804", "7.6.1810", "7.7.1908", "7.8.2003", + "7.9.2009", } { repos = append(repos, fmt.Sprintf(repofmt, ver, "os", ver, "os")) repos = append(repos, fmt.Sprintf(repofmt, ver, "updates", ver, "updates")) } - - // FIXME http/gpgcheck=0 - repofmt = "[%s-%s]\\nbaseurl=http://mirror.centos.org/centos-7/%s/%s/$basearch/\\ngpgcheck=0" - repos = append(repos, fmt.Sprintf(repofmt, "7.9.2009", "os", "7.9.2009", "os")) - repos = append(repos, fmt.Sprintf(repofmt, "7.9.2009", "updates", "7.9.2009", "updates")) case "8": repofmt := "[%s-%s]\\nbaseurl=https://vault.centos.org/%s/%s/$basearch/os/\\ngpgcheck=0"