Re: configuration files info is missing
seth vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <1180098832.13865.0.camel@rivendell> |
On Fri, 2007-05-25 at 10:37 +0200, krepo wrote: > Greetings > > I'm writting some kind of web based repository controller/monitor. Unfortunally i have problems with .repo files. There is baseurl and mirrorlist, both documented, but one information is missing. If I specify both of them in one file, which one YUM will use to connect to repository? Is this a logical choice (eg. baseurl always before mirrorlist) or a physical choice eg: > [reposection] > name=reponame > baseurl=http://use.me.first > mirrorlist=http://do.not.use.me.or.use.me.if.baseurl.fail > > There is one more thing. If both are used, are they merged? > Thanks for attention and have a nice day :> > they are both used. No, baseurl is not used first. They are merged into the url list for that repo. -sv