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-01-07 16:02:53 +0100
commit8e6864bb8031516f6779c875f0a10797323e59df (patch)
tree9a86ff9e033b74e5f0d856ad7541079d62d5d424 /doc/appendix
parent30e41a549480de1cfe6dcd01712997b2a53f27ea (diff)
downloadbcfg2-8e6864bb8031516f6779c875f0a10797323e59df.tar.gz
bcfg2-8e6864bb8031516f6779c875f0a10797323e59df.tar.bz2
bcfg2-8e6864bb8031516f6779c875f0a10797323e59df.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>