[Libosinfo] [PATCH osinfo-db 02/11] centos7: Add URL for CentOS 7

Fabiano Fidêncio fidencio at redhat.com
Thu Sep 6 08:55:07 UTC 2018


CentOS doesn't provide a direct link for downloading the ISOs. Instead,
their link redirects you to a mirror list, which is far from optimal for
our case.

After opening https://bugs.centos.org/view.php?id=15239, arrfab
suggested to use the symlink to the last respin which symlinks to
$latest.

This approach is the best we can take for now.

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/centos.org/centos-7.0.xml.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/data/os/centos.org/centos-7.0.xml.in b/data/os/centos.org/centos-7.0.xml.in
index ce092aa..075f29a 100644
--- a/data/os/centos.org/centos-7.0.xml.in
+++ b/data/os/centos.org/centos-7.0.xml.in
@@ -14,6 +14,7 @@
     <release-date>2014-07-07</release-date>
 
     <media arch="x86_64">
+      <url>https://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-DVD.iso</url>
       <iso>
         <system-id>LINUX</system-id>
         <volume-id>CentOS 7 x86_64</volume-id>
-- 
2.17.1




More information about the Libosinfo mailing list