From 3573bb71809f35b64e08d13dc5272e8536c4c4be Mon Sep 17 00:00:00 2001 From: Jackson West Date: Wed, 8 Nov 2023 12:59:26 -0600 Subject: [PATCH] test --- .../kubernetes-sigs/image-builder/build/build_image_on_metal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/kubernetes-sigs/image-builder/build/build_image_on_metal.sh b/projects/kubernetes-sigs/image-builder/build/build_image_on_metal.sh index 4ec53703a1..53dc3ae381 100755 --- a/projects/kubernetes-sigs/image-builder/build/build_image_on_metal.sh +++ b/projects/kubernetes-sigs/image-builder/build/build_image_on_metal.sh @@ -91,7 +91,7 @@ if [ "$CODEBUILD_CI" = "true" ]; then RUN_INSTANCE_EXTRA_ARGS="--subnet-id $SUBNET_ID --placement AvailabilityZone=$SUBNET_AZ --security-group-ids $RAW_IMAGE_BUILD_SECURITY_GROUP --associate-public-ip-address --iam-instance-profile Name=eksa-imagebuilder-instance-profile" fi -AMI_ID=$(aws ec2 describe-images --owners 857151390494 --filters "Name=tag:KVMBuilder,Values=Ubuntu 2004" --query 'sort_by(Images, &CreationDate)[-1].[ImageId]' --output text) +AMI_ID=$(aws ec2 describe-images --owners 857151390494 --filters 'Name=name,Values=kvm-Ubuntu-builder-*' --query 'sort_by(Images, &CreationDate)[-1].[ImageId]' --output text) MAX_RETRIES=20 for i in $(seq 1 $MAX_RETRIES); do