diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-09-04 14:58:15 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-09-04 14:58:15 +0000 |
| commit | 88bdbf8db545e1cbf8bf7b83f1b97abb1023bdec (patch) | |
| tree | 6d612c8b9d4ff8b9585ed1cb874082b230362e35 /doc | |
| parent | 35ea22ee99016328fbe9a68abe946e8087f425a6 (diff) | |
| parent | 360999929d361c5ba8417ee9e9eb25de29671c7f (diff) | |
| download | kolla-88bdbf8db545e1cbf8bf7b83f1b97abb1023bdec.tar.gz kolla-88bdbf8db545e1cbf8bf7b83f1b97abb1023bdec.zip | |
Merge "Add support to the base image for RHEL"
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 |
