Browse Source

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
(cherry picked from commit ce5d049c1e)
tags/10.8.1
Bob Fournier 3 weeks ago
parent
commit
300785c13d

+ 44
- 0
image-yaml/overcloud-hardened-images-uefi-python3.yaml View File

@@ -0,0 +1,44 @@
1
+disk_images:
2
+  -
3
+    imagename: overcloud-hardened-uefi-full
4
+    type: qcow2
5
+    elements:
6
+      - dhcp-all-interfaces
7
+      - openvswitch
8
+      - overcloud-agent
9
+      - overcloud-base
10
+      - overcloud-controller
11
+      - overcloud-compute
12
+      - overcloud-ceph-storage
13
+      - puppet-modules
14
+      - stable-interface-names
15
+      - bootloader
16
+      - element-manifest
17
+      - dynamic-login
18
+      - iptables
19
+      - enable-packages-install
20
+      - override-pip-and-virtualenv
21
+      - dracut-regenerate
22
+      - remove-machine-id
23
+      - remove-resolvconf
24
+      - modprobe
25
+      - overcloud-secure-uefi
26
+      - openssh
27
+      - disable-nouveau
28
+    packages:
29
+      - python3-psutil
30
+      - python3-debtcollector
31
+      - sos
32
+      - device-mapper-multipath
33
+      - openstack-heat-agents
34
+      - os-net-config
35
+      - jq
36
+    options:
37
+      - "--min-tmpfs=7"
38
+    environment:
39
+      DIB_PYTHON_VERSION: '3'
40
+      DIB_MODPROBE_BLACKLIST: 'usb-storage cramfs freevxfs jffs2 hfs hfsplus squashfs udf bluetooth'
41
+      DIB_BOOTLOADER_DEFAULT_CMDLINE: 'nofb nomodeset vga=normal console=tty0 console=ttyS0,115200 audit=1 nousb'
42
+      DIB_IMAGE_SIZE: '40'
43
+      COMPRESS_IMAGE: '1'
44
+      DIB_BLOCK_DEVICE: 'efi'

+ 38
- 0
image-yaml/overcloud-realtime-compute-python3.yaml View File

@@ -0,0 +1,38 @@
1
+disk_images:
2
+  -
3
+    imagename: overcloud-realtime-compute
4
+    type: qcow2
5
+    elements:
6
+      - baremetal
7
+      - dhcp-all-interfaces
8
+      - openvswitch
9
+      - overcloud-agent
10
+      - overcloud-compute
11
+      - puppet-modules
12
+      - stable-interface-names
13
+      - grub2
14
+      - element-manifest
15
+      - dynamic-login
16
+      - iptables
17
+      - enable-packages-install
18
+      - override-pip-and-virtualenv
19
+      - dracut-regenerate
20
+      - remove-machine-id
21
+      - remove-resolvconf
22
+      - realtime-kernel
23
+      - openssh
24
+      - disable-nouveau
25
+    packages:
26
+      - python3-psutil
27
+      - python3-debtcollector
28
+      - sos
29
+      - device-mapper-multipath
30
+      - openstack-heat-agents
31
+      - os-net-config
32
+      - jq
33
+    options:
34
+      - "--min-tmpfs=7"
35
+    environment:
36
+      DIB_PYTHON_VERSION: '3'
37
+      DIB_BAREMETAL_KERNEL_PATTERN: 'vmlinuz*.rt*'
38
+      DIB_BAREMETAL_INITRD_PATTERN: 'initramfs-*.rt*'

Loading…
Cancel
Save