dlrn-repo
=========

A tool for managing dlrn repos.

See: https://github.com/openstack-packages/DLRN

Also ensures yum-plugin-priorities is installed since the dlrn repos
require that to work sanely.

.. note:: The tool will remove any delorean* repos at the target location
          to avoid conflicts with older repos.  This means you must specify
          all of the repos you want to enable in one dlrn-repo call.

Examples
--------
Install current master dlrn repo and the deps repo::

    dlrn-repo current deps

Install the current-tripleo repo.  This will also pull current and deps, and
will adjust the priorities of each repo appropriately::

    dlrn-repo current-tripleo

Install the mitaka dlrn repo and deps::

    dlrn-repo -b mitaka current deps

Write repos to a different path::

    dlrn-repo -o ~/test-repos current deps

Note that this is intended as a tool for bootstrapping the repo setup in
things like TripleO, so it should not have any runtime OpenStack dependencies
or we end up in a chicken-and-egg pickle, and let's be honest - no one wants a
chicken and egg pickle.

dlrn-repo
=========

A tool for managing dlrn repos.

See: https://github.com/openstack-packages/DLRN

Also ensures yum-plugin-priorities is installed since the dlrn repos
require that to work sanely.

.. note:: The tool will remove any delorean* repos at the target location
          to avoid conflicts with older repos.  This means you must specify
          all of the repos you want to enable in one dlrn-repo call.

Examples
--------
Install current master dlrn repo and the deps repo::

    dlrn-repo current deps

Install the current-tripleo repo.  This will also pull current and deps, and
will adjust the priorities of each repo appropriately::

    dlrn-repo current-tripleo

Install the mitaka dlrn repo and deps::

    dlrn-repo -b mitaka current deps

Write repos to a different path::

    dlrn-repo -o ~/test-repos current deps

To use this for TripleO development, replace the tripleo.sh --repo-setup
step with the following::

    git clone https://github.com/cybertron/dlrn-repo
    cd dlrn-repo
    sudo ./setup.py install
    sudo dlrn-repo current-tripleo

Now you're ready to install the undercloud::

    tripleo.sh --undercloud

And to build images::

    export OVERCLOUD_IMAGES_DIB_YUM_REPO_CONF="$(ls /etc/yum.repos.d/delorean*)"
    tripleo.sh --overcloud-images

Note that this is intended as a tool for bootstrapping the repo setup in
things like TripleO, so it should not have any runtime OpenStack dependencies
or we end up in a chicken-and-egg pickle, and let's be honest - no one wants a
chicken and egg pickle.

Add instructions for use with TripleO
Add instructions for use with TripleO
