Vishwa
Vishwa

Reputation: 57

Artifactory RPM virtual repository with yum client

I am using Artifactory 5.4.6. I have created a virtual RPM repository, including a local RPM repository and multiple remote repositories.

How can i configure YUM client to use this virtual repository?

Resources Referred:
1. User-Guide
2. Youtube Video

Upvotes: 0

Views: 263

Answers (1)

msuchy
msuchy

Reputation: 5427

Create file /etc/yum.repos.d/your.repo with content:

[yourid]                                                                                                                                                                                                                                                            
name=your private repo
baseurl=https://url.to.your.repository/                
skip_if_unavailable=True                                                                                                
enabled=1

There can be more options. See man dnf.conf (they are mostly the same for DNF and YUM).

Upvotes: 1

Related Questions