2.2. Configuring the Base Operating System with Offline Repositories
Use this procedure to configure offline repositories for the Red Hat Enterprise Linux and Red Hat Satellite ISO images.
Procedure
Create a directory to serve as the mount point for the ISO file corresponding to the base operating system’s version.
# mkdir /media/rhel7-serverMount the ISO image for Red Hat Enterprise Linux to the mount point.
# mount -o loop rhel7-Server-DVD.iso /media/rhel7-serverCopy the ISO file’s repository data file.
# cp /media/rhel7-server/media.repo /etc/yum.repos.d/rhel7-server.repoEdit the repository data file and add the
baseurldirective.baseurl=file:///media/rhel7-server/Verify that the repository has been configured.
# yum repolistCreate a directory to serve as the mount point for the ISO file of the Satellite Server.
# mkdir /media/sat6Mount the ISO image for Red Hat Satellite Server to the mount point.
# mount -o loop sat6-DVD.iso /media/sat6