Add python3 file for additional images

In addition to hardened images
(https://review.opendev.org/#/q/I953c5648ac79dc8a59fd4bc798c21e6e383e1afc)
a python3 file needs to be added to support RHEL 8 for hardened uefi and
realtime-compute images.

Change-Id: Ic4f9a7a6128842f54dc70f51adb74067acc7bc8a
This commit is contained in:
Bob Fournier 2019-08-23 15:55:52 -04:00
parent 77f41e0379
commit ce5d049c1e
2 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,44 @@
disk_images:
-
imagename: overcloud-hardened-uefi-full
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-secure-uefi
- openssh
- disable-nouveau
packages:
- 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 bluetooth'
DIB_BOOTLOADER_DEFAULT_CMDLINE: 'nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb'
DIB_IMAGE_SIZE: '40'
COMPRESS_IMAGE: '1'
DIB_BLOCK_DEVICE: 'efi'

View File

@ -0,0 +1,38 @@
disk_images:
-
imagename: overcloud-realtime-compute
type: qcow2
elements:
- baremetal
- dhcp-all-interfaces
- openvswitch
- overcloud-agent
- overcloud-compute
- puppet-modules
- stable-interface-names
- grub2
- element-manifest
- dynamic-login
- iptables
- enable-packages-install
- override-pip-and-virtualenv
- dracut-regenerate
- remove-machine-id
- remove-resolvconf
- realtime-kernel
- openssh
- disable-nouveau
packages:
- 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_BAREMETAL_KERNEL_PATTERN: 'vmlinuz*.rt*'
DIB_BAREMETAL_INITRD_PATTERN: 'initramfs-*.rt*'