Skip to content

Commit 07a3c19

Browse files
authored
Merge pull request rpm-software-management#73 from dmnks/bz1509831
docs: baseurl: clarify multiple URLs
2 parents 1bc3d51 + 98c6fbf commit 07a3c19

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/yum.conf.5

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,8 +1032,10 @@ A human readable string describing the repository.
10321032
.IP
10331033
\fBbaseurl\fR
10341034
Must be a URL to the directory where the yum repository's `repodata' directory
1035-
lives. Can be an http://, ftp:// or file:// URL. You can specify multiple URLs
1036-
in one baseurl statement. The best way to do this is like this:
1035+
lives. Can be an http://, ftp:// or file:// URL.
1036+
1037+
You can specify multiple URLs in one baseurl statement. The best way to do this
1038+
is like this:
10371039
.br
10381040
[repositoryid]
10391041
.br
@@ -1046,6 +1048,12 @@ baseurl=url://server1/path/to/repository/
10461048
url://server3/path/to/repository/
10471049
.br
10481050

1051+
The URLs listed are considered different locations (mirrors) of the same
1052+
repository.
1053+
That means, if one URL fails, another one is tried, and so on.
1054+
The order in which the URLs are tried is determined by the \fBfailovermethod\fR
1055+
option.
1056+
10491057
If you list more than one baseurl= statement in a repository you will find
10501058
yum will ignore the earlier ones and probably act bizarrely. Don't do this,
10511059
you've been warned.

0 commit comments

Comments
 (0)