1、挂载iso
mount -o loop /root/test.iso /mnt/iso
2、新建repo
[local] name=local baseurl=file:///mnt/iso/ enabled=1 gpgcheck=0