[lago-devel] In which order repos are searched for RPMs?

Yaniv Kaul ykaul at redhat.com
Tue Apr 5 11:49:48 UTC 2016


If I have the RPM on the 'localsync' repo as well as externally (say, from
CentOS 7 updates), which repo will it be taken from?

- Simple solution: sync all that you need and disable the 'updates' repo.
I'm in favor. Same for the 'base' repo and any other repo. Essentially, all
that the VM needs should be in the 'localsync' repo.

- Simple solution #2 : rename 'localsync' to '*a*localsync' - just to make
sure it is the first looked at...

Before:
[root at lago_basic_suite_3_6_engine ~]# egrep "Updated|Installed"
/var/log/yum.log | awk -F\: '{print $NF}' |xargs yum info |grep "From repo"
|egrep -c "base|updates"
87

After the change:
[root at lago_basic_suite_3_6_engine ~]# egrep "Updated|Installed"
/var/log/yum.log | awk -F\: '{print $NF}' |xargs yum info |grep "From repo"
|egrep -c "base|updates"
1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20160405/4c50dd26/attachment-0001.html>


More information about the lago-devel mailing list