Improved the documentation for DIB_DNF_MODULE_STREAMS

https://review.opendev.org/c/openstack/diskimage-builder/+/785138
adds the support for DIB_DNF_MODULE_STREAMS which is now available
for all Yum based distros.

This patch enhances the docs for using it for all Yum
based distributions.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I29e726679c2b675b3c0cd95a3ff48fdad7cd5431
This commit is contained in:
Chandan Kumar (raukadah) 2021-04-08 11:22:43 +05:30
parent ced54fea75
commit 21a752ee4d

View File

@ -21,8 +21,9 @@ avoid a filename collision.
Environment Variables for Module Selection during Image Creation Environment Variables for Module Selection during Image Creation
---------------------------------------------------------------- ----------------------------------------------------------------
The following environment variable is used to select module streams to be The following environment variable is used to select module streams to be
enabled during an image build on RHEL8. Any existing stream for the given enabled during an image build on Yum/DNF based distributions. Any existing
module is first disabled prior to enabling the specified stream. stream for the given module is first disabled prior to enabling
the specified stream.
#### DIB\_DNF\_MODULE\_STREAMS #### DIB\_DNF\_MODULE\_STREAMS
This is a space-separated list of module streams to enable prior to any This is a space-separated list of module streams to enable prior to any
@ -30,7 +31,7 @@ RPMs being installed.
Image Build Module Selection Example Image Build Module Selection Example
------------------------------------ ------------------------------------
When using Train on RHEL8.2, one must select the appropriate virt and When using Train release on RHEL/CentOS/Fedora, one must select the appropriate
container-tools module streams: virt and container-tools module streams:
DIB_DNF_MODULE_STREAMS='virt:8.2 container-tools:3.0' DIB_DNF_MODULE_STREAMS='virt:8.2 container-tools:3.0'