Add disable-nouveau element to tripleo images

This ensures nouveau is not loaded at boot, as this can prevent PCI passthrough
or loading the NVIDIA binary drivers that are required for vGPU support.

Requires switching from the (now deprecated) modprobe-blacklist to the modprobe
element in the hardened images.

bp tripleo-vgpu

Depends-On: I60815de86e7b22dfb39555af9d2d53564841e2ab
Change-Id: I5d487e99b4e72368f36051509146dc75dd31b62e
Closes-bug: 1774674
This commit is contained in:
Oliver Walsh
2018-06-01 17:42:49 +01:00
parent 284020b6b6
commit 7c39645573
5 changed files with 12 additions and 2 deletions

View File

@@ -21,9 +21,10 @@ disk_images:
- dracut-regenerate
- remove-machine-id
- remove-resolvconf
- modprobe-blacklist
- modprobe
- overcloud-secure-uefi
- openssh
- disable-nouveau
packages:
- ntp
- python-psutil

View File

@@ -21,9 +21,10 @@ disk_images:
- dracut-regenerate
- remove-machine-id
- remove-resolvconf
- modprobe-blacklist
- modprobe
- overcloud-secure
- openssh
- disable-nouveau
packages:
- ntp
- python-psutil

View File

@@ -23,6 +23,7 @@ disk_images:
- remove-machine-id
- remove-resolvconf
- openssh
- disable-nouveau
packages:
- python-psutil
- python-debtcollector

View File

@@ -21,6 +21,7 @@ disk_images:
- remove-resolvconf
- realtime-kernel
- openssh
- disable-nouveau
packages:
- python-psutil
- python-debtcollector

View File

@@ -0,0 +1,6 @@
---
features:
- |
Add disable-nouveau element to tripleo images
This ensures nouveau is not loaded at boot, as this can prevent PCI passthrough
or loading the NVIDIA binary drivers that are required for vGPU support.