1. Mount the disk to /media folder
2. copy media.repo
from the root of the disk to /etc/yum.repos.d
/ and set permission to 644
3. edit the media.repo changing gpgchedk
from 0
to 1
and adding the following lines:
enabled=1
baseurl=file:///media/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
4. Clear caches:
yum clean all
subscription-manager clean
5. list and update yum
yum list
yum update