Topic: Geographically limiting servers for updates

Hello!

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?

Thanks!

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.

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi