#5 Switching CR repo to mirrorlist to spread the load
Closed 8 months ago by bstinson. Opened 9 months ago by arrfab.
rpms/ arrfab/centos-release mirrorlist_cr  into  c8

file modified
+2 -7

@@ -13,16 +13,11 @@ 

  # The CR repo is shipped in a disabled state by default; its important that users

  # understand the implications of turning this on.

  #

- # NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available

- #       to everyone as soon as possible, and not need to wait for the external

- #       mirror network to seed first. However, many local mirrors will carry CR repos

- #       and if desired you can use one of these local mirrors by editing the baseurl

- #       line in the repo config below.

- #

  

  [cr]

  name=CentOS-$releasever - cr

- baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/

+ mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=cr&infra=$infra

+ #baseurl=http://mirror.centos.org/$contentdir/$releasever/cr/$basearch/os/

  gpgcheck=1

  enabled=0

  gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

file modified
+4 -1

@@ -27,7 +27,7 @@ 

  

  Name:           centos-release

  Version:        %{upstream_rel}

- Release:        %{centos_rel}.0.7%{?dist}

+ Release:        %{centos_rel}.0.8%{?dist}

  Summary:        %{product_family} release file

  Group:          System Environment/Base

  License:        GPLv2

@@ -248,6 +248,9 @@ 

  /etc/pki/rpm-gpg/

  

  %changelog

+ * Tue Dec 24 2019 Fabian Arrotin <arrfab@centos.org> - 8-1.0.8

+ - Switched CR repo to mirrorlist 

+ 

  * Thu Dec 19 2019 bstinson@centosproject.org - 8-1.0.7

  - Typo fixes

  - Disable the HA repo by default

Support for CR repo was added some time ago for mirrorlist.centos.org, so we can enable it by default, to spread the load on all mirrors

Pull-Request has been closed by bstinson

8 months ago