[[email protected] ~]# mount /dev/sr0 /mnt/
[[email protected] ~]# cat /etc/yum.repos.d/local.repo
[loacl]
name=CentOS6.5
baseurl=file:///mnt
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
时间: 2024-10-10 06:47:20
[[email protected] ~]# mount /dev/sr0 /mnt/
[[email protected] ~]# cat /etc/yum.repos.d/local.repo
[loacl]
name=CentOS6.5
baseurl=file:///mnt
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6