Pages

Monday, March 2, 2015

Using DVD / iso image as yum repository

# mount /dev/cdrom /media

/etc/yum.repos.d/dvd.repo

[DVD]
name=Red Hat Enterprise Linux Installation 6 x86_64
baseurl=file:///media/Server
enabled=1
gpgcheck=no

#gpgfile=file:///etc/pki/rpm-gpg/RPM-GPG-KEY*

No comments:

Post a Comment