module
The module Kickstart command is optional. Use this command to enable a package module stream within the kickstart script.
- Syntax
-
module --name=NAME [--stream=STREAM] - Mandatory options
-
--name=: Specifies the name of the module to enable. Replace NAME with the actual name.
- Optional options
-
--stream=: Specifies the name of the module stream to enable. Replace STREAM with the actual name.You do not need to specify this option for modules with a default stream defined. For modules without a default stream, this option is mandatory and leaving it out results in an error. Enabling a module multiple times with different streams is not possible.
- Notes
-
- Using a combination of this command and the
%packagessection allows you to install packages provided by the enabled module and stream combination, without specifying the module and stream explicitly. Modules must be enabled before package installation. After enabling a module with themodulecommand, you can install the packages enabled by this module by listing them in the%packagessection. - A single
modulecommand can enable only a single module and stream combination. To enable multiple modules, use multiplemodulecommands. Enabling a module multiple times with different streams is not possible. - In Red Hat Enterprise Linux 10, modules are present only in the AppStream repository. To list available modules, use the
dnf module listcommand on an installed Red Hat Enterprise Linux Red Hat Enterprise Linux system with a valid subscription.
- Using a combination of this command and the