From 21a752ee4d48807d0a006469e35e44dfac93285f Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" Date: Thu, 8 Apr 2021 11:22:43 +0530 Subject: [PATCH] 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) Change-Id: I29e726679c2b675b3c0cd95a3ff48fdad7cd5431 --- diskimage_builder/elements/yum/README.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/diskimage_builder/elements/yum/README.rst b/diskimage_builder/elements/yum/README.rst index 11eaa5eb..6c471c89 100644 --- a/diskimage_builder/elements/yum/README.rst +++ b/diskimage_builder/elements/yum/README.rst @@ -21,8 +21,9 @@ avoid a filename collision. Environment Variables for Module Selection during Image Creation ---------------------------------------------------------------- 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 -module is first disabled prior to enabling the specified stream. +enabled during an image build on Yum/DNF based distributions. Any existing +stream for the given module is first disabled prior to enabling +the specified stream. #### DIB\_DNF\_MODULE\_STREAMS 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 ------------------------------------ -When using Train on RHEL8.2, one must select the appropriate virt and -container-tools module streams: +When using Train release on RHEL/CentOS/Fedora, one must select the appropriate +virt and container-tools module streams: DIB_DNF_MODULE_STREAMS='virt:8.2 container-tools:3.0'