On 2017-07-25 21:25, Anton Aylward wrote:
On 25/07/17 01:59 PM, Carlos E. R. wrote:
Just comment out the "baseurl" line and write your own. This is not detected as a repo change by yast/zypper.
Yes, I understand. That locks it in to one and only one specific repository. If that fails, if that performs badly, if there's network problems getting there, then you're screwed.
it does NOT alter the priorities over the set with which mirrorbrain works and does not offer you, dynamically, a choice of alternatives if the one selected by mirrorbrain performs poorly.
Yes, of course. In that case, you can do this - I used it with packman: /etc/zypp/repos.d/ftp.gwdg.de-suse.repo: [EXT_Packman] name=EXT: Packman Repository enabled=1 autorefresh=1 path=/ mirrorlist=http://localhost/packmanmirrorlist.file type=rpm-md priority=95 keeppackages=1 Notice that I use "mirrorlist" instead, and it has to be an URL. At the time I did it, it had to be http://, there was talk of accepting file:///, but I don't know if that feature addition has been implemented or not. On /srv/www/htdocs/packmanmirrorlist.file I had: http://mirror.karneval.cz/pub/linux/packman/suse/openSUSE_13.1/ http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_13.1/ http://packman.jacobs-university.de/suse/openSUSE_13.1/ which acted as a random redirector if I recall correctly. And of course, you need one file per repo, on apache. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)