cat >> /etc/yum.repos.d/centos7.repo << EOF[test-iso7]name=CentOS- - Mediabaseurl=http://10.111.133.20/centos7/ file:///mnt/cdrom/ file:///media/cdrecorder/gpgcheck=0enabled=1EOF