How to query the new style mirrorlist ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
>From CentOS 4.3, I saw the yum repository setting
/etc/yum.repos.d/CentOS-Base.repo
is something like:
--------------------
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
--------------------
Is that possible I can query the result by lynx ? I have a script to get
the URL and path in old yum repository style, but broken in this. When I
use "lynx http://mirrorlist.centos.org/?release=4.3&arch=i386&repo=os";,
it shows me "4.3 hasnt been released yet".
I need to get the result like the baseurl style
"http://free.nchc.org.tw/centos/$releasever/os/$basearch/";
or a list of urls.

Thanks in advance.

-- 
Steven Shiau

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux