Document custom-repos

Change-Id: I8777a354acba4395d8ccc48e32cc4178db58461b
This commit is contained in:
Ryan Hallisey 2016-04-01 10:41:25 -04:00
parent a22b7714e3
commit 9fce1ac981
1 changed files with 18 additions and 0 deletions

View File

@ -137,6 +137,24 @@ Then build RHEL containers:
build -b rhel -i ./rhel-include
Custom Repos
------------
The build method allows you to build your containers from custom repos.
The repos are accepted as a list of comma separated values and can be in
the form of .repo, .rpm, or a url. See examples below.
Update rpm_setup_config in /etc/kolla/kolla-build.conf:
::
rpm_setup_config = http://trunk.rdoproject.org/centos7/currrent/delorean.repo,http://trunk.rdoproject.org/centos7/delorean-deps.repo
If you are specifying a .repo file, each .repo file will need to exist in the
same directory as the base Dockerfile (kolla/docker/base).
::
rpm_setup_config = epel.repo,delorean.repo,delorean-deps.repo
Plugin Functionality
--------------------