mount iso文件
mount -t iso9660 -o loop /tmp/rhel68.iso /mnt
修改 /etc/yum.repos.d/rhel-source.repo
name=rhel6
baseurl=file:///mnt
enabled=0
gpgcheck=1
gpgkey=file:///mnt
mount iso文件
mount -t iso9660 -o loop /tmp/rhel68.iso /mnt
修改 /etc/yum.repos.d/rhel-source.repo
name=rhel6
baseurl=file:///mnt
enabled=0
gpgcheck=1
gpgkey=file:///mnt