From ca358f61174be9e176e949210676153eac1f5ebf Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sun, 19 Nov 2023 16:56:30 -0500 Subject: [PATCH] rl#4390 - add uefi-preferred to boot mode for images Fixes: https://bugs.rockylinux.org/view.php?id=4390 --- sync/import-snapshot-publish-aws.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/import-snapshot-publish-aws.sh b/sync/import-snapshot-publish-aws.sh index 4c68f20..fc03a80 100755 --- a/sync/import-snapshot-publish-aws.sh +++ b/sync/import-snapshot-publish-aws.sh @@ -103,7 +103,7 @@ register-image() { ;; esac - ami_id=$(aws --query "ImageId" ec2 register-image --name "$name" --description "$name" --block-device-mappings DeviceName="/dev/sda1",Ebs={SnapshotId="$snapshot_id"} --root-device-name "/dev/sda1" --virtualization-type hvm --architecture $arch --ena-support) + ami_id=$(aws --query "ImageId" ec2 register-image --name "$name" --description "$name" --block-device-mappings DeviceName="/dev/sda1",Ebs={SnapshotId="$snapshot_id"} --root-device-name "/dev/sda1" --virtualization-type hvm --architecture $arch --ena-support --boot-mode uefi-preferred) if [[ -z "$ami_id" ]]; then return 1