Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncing epel repositories #4

Open
vishalspatil opened this issue Nov 23, 2016 · 1 comment
Open

Syncing epel repositories #4

vishalspatil opened this issue Nov 23, 2016 · 1 comment

Comments

@vishalspatil
Copy link

Hi There,

I want to sync epel repositories into dtmrepo from fedora community.

Any document to configure the same on dtmrepo server so that I can sync epel packages on it.

Thanks in advance.

regards

Vishal

@dtmateojr
Copy link
Owner

That's quite easy. For RHEL6 for example, create /etc/dtmrepo.repos.d/epel.repo:

[epel-6]
name=epel-6
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=x86_64
failovermethod=priority
enabled = 0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Then add an entry in your /etc/dtmrepo.conf.d/rhel6.conf that looks something like this:

epel = epel-6

Then sync by running

dtmrepo -ugv -r epel -d rhel6

dtmateojr added a commit that referenced this issue Jun 5, 2017
Check out tip #4 on how to sync multiple different (RHEL) distros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants