配置 local yum
cd /etc/yum.repo.d
mkdir bak
mv *.repo ./bakvi /etc/yum.repo.d/local.repo
[BaseOS]
nameBaseOS
baseurlfile:///mnt/cdrom/BaseOS
gpgcheck0
enabled1[AppStream]
nameAppStream
baseurlfile:///mnt/cdrom/AppStream
gpgcheck0
enabled1yum clean all
y…