diskimage-builder/diskimage_builder/elements/disable-nouveau
Oliver Walsh ceaf79d191 Ensure nouveau is blacklisted in initramfs too
To ensure dracut does not load nouveau we need to explicitly disable it via
omit_drivers.
This change adds a method to drop in arbitary dracut conf files to an element
which are picked up by dracut-regenerate and included in the chroot where we
run dracut.

The disable-nouveau element just adds a conf file with
`omit_drivers += " nouveau"`
The default dracut conf files in /usr/lib include a similar file to omit the
nvidia kernel modules.

Change-Id: I6375e4843fd08d1410141fbbd8658042dcd5ad05
Closes-bug: 1842664
2019-10-23 10:16:00 +11:00
..
dracut.conf.d
modprobe.d
element-deps Add DIB element to blacklist nouveau 2018-07-25 16:35:58 +01:00
README.rst

===============
disable-nouveau
===============
Blacklist nouveau module

This is required when installing NVIDIA GPU drivers and to avoid issues with PCI
passthrough of NVIDIA GPUs.