From 4204f63228d3d55f7434072a4067fde5e50877b2 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Tue, 22 Nov 2022 01:06:49 -0500 Subject: [PATCH] our images actually support ENA --- 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 ca87ef8..3e714a8 100755 --- a/sync/import-snapshot-publish-aws.sh +++ b/sync/import-snapshot-publish-aws.sh @@ -102,7 +102,7 @@ register-image() { arch=arm64;; 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) + 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) if [[ -z "$ami_id" ]]; then return 1