From affa29e909e4d7dc7696be15e9c7393182d2bc08 Mon Sep 17 00:00:00 2001 From: Aidan McMahon-Smith Date: Mon, 14 Aug 2023 16:45:21 +0200 Subject: [PATCH] Add bootmode parameter to publishing metadata [RHELDST-18235] From RHEL 8.9 and RHEL 9.3 onward UEFI boot will be available. The boot mode must be specified for AMI images to make use of the change. This change adds the bootmode into publish metadata to be used by cloudimg. --- pubtools/_ami/tasks/push.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pubtools/_ami/tasks/push.py b/pubtools/_ami/tasks/push.py index 0e72ca3..b1e90a7 100644 --- a/pubtools/_ami/tasks/push.py +++ b/pubtools/_ami/tasks/push.py @@ -109,6 +109,7 @@ def upload(self, push_item): "virt_type": push_item.virtualization, "root_device_name": push_item.root_device, "volume_type": push_item.volume, + "uefi_support": push_item.uefi_support, "billing_products": push_item.billing_codes.codes, "accounts": accounts, "snapshot_account_ids": snapshot_account_ids,