rl#4390 - add uefi-preferred to boot mode for images
Build empanada images for imagefactory / buildx (push) Failing after 4s Details
Build empanada container images for lorax / buildx (push) Successful in 1s Details

Fixes: https://bugs.rockylinux.org/view.php?id=4390
This commit is contained in:
Neil Hanlon 2023-11-19 16:56:30 -05:00
parent 5eb80aac4c
commit ca358f6117
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
1 changed files with 1 additions and 1 deletions

View File

@ -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