[root@192 ~]# cd /etc/yum.repos.d/
[root@192 yum.repos.d]# ls
redhat.repo
[root@192 yum.repos.d]# vim rpm.repo
[base]
name=baseos
gpgcheck=0
baseurl=/mnt/BaseOS
[appStrea]
name=appstream
gpgcheck=0
baseurl=/mnt/AppStream
[root@192 yum.repos.d]# mount /dev/sr0 /mnt?
mount: /mnt: WARNING: source write-protected, mounted read-only.
[root@server ~]# yum makecache