How to set up default repositories in centos 7?
to use standard mirror.centos.org
contents of the /etc/yum.conf file
[main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h # Default. # installonly_limit = 3 the lines with the repository were deleted from there, there was a non-working repository mirror2.nashirnet.com