summaryrefslogtreecommitdiffstats
path: root/doc/appendix
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2012-01-07 16:02:53 +0100
committerFabian Affolter <fabian@bernewireless.net>2012-05-01 18:40:30 +0200
commit4f1647fba6f0efd76e4ecb1d47a08e1c38d17b58 (patch)
treec1eaf63982968da2c8519fda21f8a29de7a6830e /doc/appendix
parent0dcb413d68df6470a24bdd02795d115c92532f24 (diff)
downloadbcfg2-4f1647fba6f0efd76e4ecb1d47a08e1c38d17b58.tar.gz
bcfg2-4f1647fba6f0efd76e4ecb1d47a08e1c38d17b58.tar.bz2
bcfg2-4f1647fba6f0efd76e4ecb1d47a08e1c38d17b58.zip
Moved content from centos guide to this section
Diffstat (limited to 'doc/appendix')
-rw-r--r--doc/appendix/configuration/mrepo.txt26
1 files changed, 25 insertions, 1 deletions
diff --git a/doc/appendix/configuration/mrepo.txt b/doc/appendix/configuration/mrepo.txt
index 309cd6779..c1bdb3fed 100644
--- a/doc/appendix/configuration/mrepo.txt
+++ b/doc/appendix/configuration/mrepo.txt
@@ -7,7 +7,7 @@
mrepo
=====
-This section describes how to setup an `mrepo`_ mirror.
+.. This section describes how to setup an `mrepo`_ mirror.
`mrepo`_ builds a local APT/Yum RPM repository from local ISO files,
downloaded updates, and extra packages from 3rd party repositories. It
@@ -68,3 +68,27 @@ Update the repositories
::
mrepo -ug
+
+Example sources.xml file
+------------------------
+
+.. code-block:: xml
+
+ <Sources>
+ <!-- CentOS (5.4) sources -->
+ <YUMSource>
+ <Group>centos-5.4</Group>
+ <RawURL>http://mrepo/centos5-x86_64/RPMS.os</RawURL>
+ <Arch>x86_64</Arch>
+ </YUMSource>
+ <YUMSource>
+ <Group>centos-5.4</Group>
+ <RawURL>http://mrepo/centos5-x86_64/RPMS.updates</RawURL>
+ <Arch>x86_64</Arch>
+ </YUMSource>
+ <YUMSource>
+ <Group>centos-5.4</Group>
+ <RawURL>http://mrepo/centos5-x86_64/RPMS.extras</RawURL>
+ <Arch>x86_64</Arch>
+ </YUMSource>
+ </Sources>