vi /etc/yum.repos.d/dvd.repo
Put the following entries
[dvd]
name=Fedora DVD
baseurl=file:///media/Fedora\ 12\ i386\ DVD/
enabled=1
gpgcheck=0
Save
If you have a DVD image, them loop mount it to some location and modify the dvd.repo file as below
To Loop mount
mount -o loop /path/of/DVD.iso_file /path/to/your/mount_point
dvd.repo file
[dvd]
name=Fedora DVD
baseurl=file:///path/to/your/mountpoint
enabled=1
gpgcheck=0
No comments:
Post a Comment