diff options
| author | Steven Dake <stdake@cisco.com> | 2015-09-04 03:17:00 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-09-04 07:06:56 -0700 |
| commit | 360999929d361c5ba8417ee9e9eb25de29671c7f (patch) | |
| tree | 3e7ebbf69efc71b36a66e74aa91a4c212307ec14 /doc | |
| parent | 6992049323b271bf3856548f4a4d61482f5c4617 (diff) | |
| download | kolla-360999929d361c5ba8417ee9e9eb25de29671c7f.tar.gz kolla-360999929d361c5ba8417ee9e9eb25de29671c7f.zip | |
Add support to the base image for RHEL
Add support to the base image for running RHEL containers. Document
how to register a system with RHN in image-buliding.rst.
Change-Id: Id69c114cf734a8242066b8d7d05ba19c07af036a
Partially-Implements: blueprint rhel-based-image-support
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/image-building.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/image-building.rst b/doc/image-building.rst index c118fef99..364c22e73 100644 --- a/doc/image-building.rst +++ b/doc/image-building.rst @@ -84,3 +84,20 @@ Now the source type support ``url`` and ``git``. The ``build.ini`` looks like: type = git location = https://github.com/openstack/keystone reference = stable/kilo + +To build RHEL containers, it is necessary to use the -i (include header) +feature to include registration with RHN of the container runtime operating +system. To obtain a RHN username/password/pool id, contact Red Hat. + +First create a file called rhel-include: + +:: + + RUN subscription-manager register --user=<user-name> --password=<password> \ + && subscription-manager attach --pool <pool-id> + +Then build RHEL containers: + +:: + + build -b rhel -i ./rhel-include |
