Mailinglist Archive: zypp-devel (66 mails)
| < Previous | Next > |
[zypp-devel] How to add multiple baseurl=URIs to zypper repo from command line?
- From: PGNet <pgnet.trash+osyast@xxxxxxxxx>
- Date: Wed, 4 Feb 2009 09:35:27 -0800
- Message-id: <dbd51810902040935nef047d4r74cd8c0b6d6516f8@xxxxxxxxxxxxxx>
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?
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
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?
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |