Add DIB element to blacklist nouveau
This ensures nouveau is not loaded at boot, which is required when installing NVIDIA GPU drivers and to avoid issues with PCI passthrough of NVIDIA GPUs. The option to disable kernel modesets ensures that it can be unloaded again if it happens to be loaded after boot (e.g manually or implicitly by X). bp tripleo-vgpu Change-Id: I60815de86e7b22dfb39555af9d2d53564841e2ab Related-bug: 1774674
This commit is contained in:
parent
73e27a8504
commit
a514feba99
7
diskimage_builder/elements/disable-nouveau/README.rst
Normal file
7
diskimage_builder/elements/disable-nouveau/README.rst
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
===============
|
||||||
|
disable-nouveau
|
||||||
|
===============
|
||||||
|
Blacklist nouveau module
|
||||||
|
|
||||||
|
This is required when installing NVIDIA GPU drivers and to avoid issues with PCI
|
||||||
|
passthrough of NVIDIA GPUs.
|
1
diskimage_builder/elements/disable-nouveau/element-deps
Normal file
1
diskimage_builder/elements/disable-nouveau/element-deps
Normal file
@ -0,0 +1 @@
|
|||||||
|
modprobe
|
@ -0,0 +1,2 @@
|
|||||||
|
blacklist nouveau
|
||||||
|
options nouveau modeset=0
|
Loading…
Reference in New Issue
Block a user