Kaynağa Gözat

更新 'epel.repo'

robert 5 ay önce
ebeveyn
işleme
c68a139752
1 değiştirilmiş dosya ile 14 ekleme ve 6 silme
  1. 14 6
      epel.repo

+ 14 - 6
epel.repo

@@ -1,16 +1,22 @@
 [epel]
 name=Extra Packages for Enterprise Linux 7 - $basearch
-#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
-metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
+# It is much more secure to use the #metalink, but if you wish to use a local mirror
+# place its address here.
+baseurl=https://repo.huaweicloud.com/epel/7/$basearch
+#metalink=https://mirrors.fedoraproject.org/#metalink?repo=epel-7&arch=$basearch&infra=$infra&content=$contentdir
 failovermethod=priority
 enabled=1
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
+skip_if_unavailable = 1
+keepcache = 0
 
 [epel-debuginfo]
 name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
-#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
-metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
+# It is much more secure to use the #metalink, but if you wish to use a local mirror
+# place its address here.
+baseurl=https://repo.huaweicloud.com/epel/7/$basearch/debug
+#metalink=https://mirrors.fedoraproject.org/#metalink?repo=epel-debug-7&arch=$basearch&infra=$infra&content=$contentdir
 failovermethod=priority
 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
@@ -18,8 +24,10 @@ gpgcheck=1
 
 [epel-source]
 name=Extra Packages for Enterprise Linux 7 - $basearch - Source
-#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
-metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
+# It is much more secure to use the #metalink, but if you wish to use a local mirror
+# place it's address here.
+baseurl=https://repo.huaweicloud.com/epel/7/source/tree/
+#metalink=https://mirrors.fedoraproject.org/#metalink?repo=epel-source-7&arch=$basearch&infra=$infra&content=$contentdir
 failovermethod=priority
 enabled=0
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7