tripleo-common/image-yaml/overcloud-images.yaml
Oliver Walsh 7c39645573 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
2018-07-23 23:24:46 +01:00

62 lines
1.4 KiB
YAML

disk_images:
-
imagename: overcloud-full
type: qcow2
elements:
- baremetal
- dhcp-all-interfaces
- openvswitch
- overcloud-agent
- overcloud-full
- overcloud-controller
- overcloud-compute
- overcloud-ceph-storage
- puppet-modules
- stable-interface-names
- grub2
- element-manifest
- dynamic-login
- iptables
- enable-packages-install
- pip-and-virtualenv-override
- dracut-regenerate
- remove-machine-id
- remove-resolvconf
- openssh
- disable-nouveau
packages:
- python-psutil
- python-debtcollector
- plotnetcfg
- sos
- ntp
- device-mapper-multipath
- openstack-heat-agents
- os-net-config
- jq
- dbus-python
options:
- "--min-tmpfs=7"
environment:
DIB_PYTHON_VERSION: '2'
-
imagename: ironic-python-agent
# This is bogus, but there's no initrd type in diskimage-builder
type: qcow2
# So we just override the extension instead
imageext: initramfs
elements:
- ironic-agent
- ironic-agent-multipath
- dynamic-login
- element-manifest
- network-gateway
- enable-packages-install
- pip-and-virtualenv-override
packages:
- python-hardware-detect
options:
- "--min-tmpfs=7"
environment:
DIB_PYTHON_VERSION: '2'