Create a repo in RHEL 8 OS and Repo should work
after vm restart.
Open a terminal go root user
su -
Create your repository.
Step 1. Mount the local media
sudo mount -o loop rhel-8.1-x86_64-dvd.iso /mnt
mount rhel-8.1-x86_64-dvd.iso /mnt
cd /mnt
Create repo list
vim new.repo
Edit...
tks.hashnode.dev1 min read