Topic: Geographically limiting servers for updates


I have a Linux admin who is trying to patch his CentOS servers, but our proxy is blocking access due to some of the mirrors being located in questionable locations.  Unfortunately the dev who built the box is no longer with our organization.  Is there a way to configure yum so that it only pulls updates from US-based mirrors to satisfy our security team?


Re: Geographically limiting servers for updates

See in man dnf.conf the baseurl and mirrorlist options

BTW, whatever the mirror location, security is checked by signature
so a bad mirror won't be able to distribute corrupted RPM.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi