need way to distinguish fedora product/flavor in mirror logs
James Antill
james at fedoraproject.org
Mon Nov 3 21:34:19 UTC 2014
On Mon, 2014-11-03 at 08:53 -0500, Matthew Miller wrote:
> Fedora Cloud, Server, and Workstation were previously configured to
> access individual repo trees, but that was dropped at the last minute,
> so they're all hitting the same repo URL.
>
> It would be very valuable to have a way to distinguish whether a
> yum/mirrormanager requests are coming from cloud, server, workstation,
> or non-product. (This basically comes down to the presence of a
> fedora-release-$product rpm.) I can think of a number of ways, ranging
> from custom http headers to extra URL information.
Yeh, dito.
> Any ideas?
I guess you mean which is better/easier? I'd guess that adding
something like:
&osproduct=$osproduct
...with the different release rpm's putting a different file
in /etc/yum/vars/osproduct would be.
More information about the Yum-devel
mailing list