Mailinglist Archive: zypp-devel (66 mails)

< Previous Next >
Re: [zypp-devel] How to add multiple baseurl=URIs to zypper repo from command line?
  • From: Duncan Mac-Vicar Prett <dmacvicar@xxxxxxx>
  • Date: Wed, 04 Feb 2009 18:42:04 +0100
  • Message-id: <4989D36C.8010409@xxxxxxx>
PGNet wrote:
if i create a zypper repo from command line,

zypper ar -t rpm-md http://my/repo/uri/ "TEST"
zypper mr -e -r -p 10 -n "TEST" "TEST"

that generates, as expected,

cat /etc/zypp/repos.d/TEST.repo
[TEST]
name=TEST
enabled=1
autorefresh=1
baseurl=http://my/repo/uri/
type=rpm-md
priority=10
keeppackages=0


i can manually edit/add a 2nd repo,

baseurl=http://my/repo/uri/
+ baseurl=http://my/repo/uri2/

and zypper will failover to the 2nd repo if the 1st is unavailable, etc.


how does one add additional baseurl=URIs from the command line?

You can't

Duncan

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References