summaryrefslogtreecommitdiffstats
path: root/doc/appendix/guides/fedora.txt
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-09-08 18:21:27 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-09-08 18:21:27 -0500
commit22d22f34ce8e3c913da835cee3f1800a069e5072 (patch)
tree2c8c4196dc475edfe2d14f929657ad32dfeb5435 /doc/appendix/guides/fedora.txt
parent96c2794ea9a22cf779c9eab3a336e14b3abd5a1c (diff)
downloadbcfg2-22d22f34ce8e3c913da835cee3f1800a069e5072.tar.gz
bcfg2-22d22f34ce8e3c913da835cee3f1800a069e5072.tar.bz2
bcfg2-22d22f34ce8e3c913da835cee3f1800a069e5072.zip
doc: Update Packages documentation
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc/appendix/guides/fedora.txt')
-rw-r--r--doc/appendix/guides/fedora.txt28
1 files changed, 16 insertions, 12 deletions
diff --git a/doc/appendix/guides/fedora.txt b/doc/appendix/guides/fedora.txt
index 7aaa02815..9d11414ef 100644
--- a/doc/appendix/guides/fedora.txt
+++ b/doc/appendix/guides/fedora.txt
@@ -190,28 +190,32 @@ Setup the :ref:`server-plugins-generators-packages` plugin
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
First, replace **Pkgmgr** with **Packages** in the plugins
-line of ``bcfg2.conf``. Then create `Packages/` directory in
+line of ``bcfg2.conf``. Then create a `Packages/` directory in
``/var/lib/bcfg2`` ::
$ su -c 'mkdir /var/lib/bcfg2/Packages'
-Create a ``config.xml`` file for the packages in
-``/var/lib/bcfg2/Packages`` with the following content. Choose a
-mirror near your location according the `Mirror list`_ .
+Create a ``packages.conf`` in the ``/var/lib/bcfg2/Packages`` directory
+with the following contents::
+
+ [global]
+
+Create a ``sources.xml`` file for the packages in
+``/var/lib/bcfg2/Packages`` with the following content. Choose a mirror
+near your location according the `Mirror list`_ .
.. _Mirror list: http://mirrors.fedoraproject.org/publiclist/
.. code-block:: xml
<Sources>
- <YUMSource>
- <Group>fedora-13</Group>
- <URL>ftp://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/</URL>
- <Version>13</Version>
- <Component>Fedora</Component>
- <Arch>i386</Arch>
- <Arch>x86_64</Arch>
- </YUMSource>
+ <Group name="fedora-13">
+ <Source type="yum" url="ftp://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/" version="13">
+ <Component>Fedora</Component>
+ <Arch>i386</Arch>
+ <Arch>x86_64</Arch>
+ <Source>
+ </Group>
</Sources>