Add a real-time kernel hardened images for python3

Add a real-time kernel hardened images for python3

Change-Id: I694902dd9ea0eb62dedb41d78dc8cd45759cfd8b
This commit is contained in:
David Hill 2020-07-24 12:48:10 -04:00
parent 62ed9fc219
commit f0abcf0348
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,44 @@
disk_images:
-
imagename: overcloud-hardened-full-rt-kernel
type: qcow2
elements:
- dhcp-all-interfaces
- openvswitch
- overcloud-agent
- overcloud-base
- overcloud-controller
- overcloud-compute
- overcloud-ceph-storage
- puppet-modules
- stable-interface-names
- bootloader
- element-manifest
- dynamic-login
- iptables
- enable-packages-install
- override-pip-and-virtualenv
- dracut-regenerate
- remove-machine-id
- remove-resolvconf
- modprobe
- overcloud-partition
- openssh
- disable-nouveau
packages:
- kernel-rt
- python3-psutil
- python3-debtcollector
- sos
- device-mapper-multipath
- openstack-heat-agents
- os-net-config
- jq
options:
- "--min-tmpfs=7"
environment:
DIB_PYTHON_VERSION: '3'
DIB_MODPROBE_BLACKLIST: 'usb-storage cramfs freevxfs jffs2 hfs hfsplus squashfs udf vfat bluetooth'
DIB_BOOTLOADER_DEFAULT_CMDLINE: 'nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb'
DIB_IMAGE_SIZE: '40'
COMPRESS_IMAGE: '1'

View File

@ -0,0 +1,4 @@
---
features:
- Added a image yaml for real time kernels support . If you use it,
don't forget to also add the rhel-8-for-x86_64-rt-rpms channel.