diskimage-builder/diskimage_builder/elements/modprobe
Oliver Walsh 73e27a8504 modprobe DIB_MODPROBE_BLACKLIST should be optional
modprobe element currently fails when DIB_MODPROBE_BLACKLIST is not set.
As there are now two methods to control blacklisting this should be optional.

Change-Id: Ibf3c31a95177ba88c1b93228490c7f36f5b70b57
2018-07-25 16:33:47 +01:00
..
extra-data.d Add new modprobe element 2018-06-28 13:55:53 +02:00
install.d modprobe DIB_MODPROBE_BLACKLIST should be optional 2018-07-25 16:33:47 +01:00
README.rst Add new modprobe element 2018-06-28 13:55:53 +02:00

========
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.