diskimage-builder/diskimage_builder/elements/modprobe/README.rst
Yolanda Robla 31383970c7 Add new modprobe element
This element will replace modprobe-blacklist element. It wil
still have the blacklist functionality, but it also adds
the feature of passing a complete file with settings to the
modprobe.d directory. Adding this functionality, that will
allow elements that depends on this module, to just copy the
specified files to the final directory.

Change-Id: I9a44f7d11520b8b1e604956d3c1db2fc7e2bf457
2018-06-28 13:55:53 +02:00

22 lines
686 B
ReStructuredText

========
modprobe
========
Allows to configure specific modprobe options on the image.
It contains the following functionalities:
1. Ability to blacklist specific modules using modprobe.d/blacklist.conf.
In order to use set DIB_MODPROBE_BLACKLIST to the name of your
module. To disable multiple modules you can set DIB_MODPROBE_BLACKLIST
to a list of string separated by spaces.
Example:
export DIB_MODPROBE_BLACKLIST="igb"
2. Ability to copy specific files into /etc/modprobe.d directory, so it
allows to configure settings with freedom. To achieve that, the files
to be copied needs to be placed inside an specific modprobe.d directory
of the element.