CentOS-Base.repo 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # CentOS-Base.repo
  2. #
  3. # The mirror system uses the connecting IP address of the client and the
  4. # update status of each mirror to pick mirrors that are updated to and
  5. # geographically close to the client. You should use this for CentOS updates
  6. # unless you are manually picking other mirrors.
  7. #
  8. # If the mirrorlist= does not work for you, as a fall back you can try the
  9. # remarked out baseurl= line instead.
  10. #
  11. #
  12. [base]
  13. name=CentOS-$releasever - Base
  14. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
  15. baseurl=https://repo.huaweicloud.com/centos/$releasever/os/$basearch/
  16. gpgcheck=1
  17. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  18. skip_if_unavailable = 1
  19. keepcache = 0
  20. #released updates
  21. [updates]
  22. name=CentOS-$releasever - Updates
  23. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
  24. baseurl=https://repo.huaweicloud.com/centos/$releasever/updates/$basearch/
  25. gpgcheck=1
  26. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  27. skip_if_unavailable = 1
  28. keepcache = 0
  29. #additional packages that may be useful
  30. [extras]
  31. name=CentOS-$releasever - Extras
  32. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
  33. baseurl=https://repo.huaweicloud.com/centos/$releasever/extras/$basearch/
  34. gpgcheck=1
  35. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
  36. skip_if_unavailable = 1
  37. keepcache = 0
  38. #additional packages that extend functionality of existing packages
  39. [centosplus]
  40. name=CentOS-$releasever - Plus
  41. #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
  42. baseurl=https://repo.huaweicloud.com/centos/$releasever/centosplus/$basearch/
  43. gpgcheck=1
  44. enabled=0
  45. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7