diff --git a/maintainers/scripts/create-amis.sh b/maintainers/scripts/create-amis.sh index 2ea5c64d5877..8f8c198957e9 100755 --- a/maintainers/scripts/create-amis.sh +++ b/maintainers/scripts/create-amis.sh @@ -24,7 +24,7 @@ buildAndUploadFor() { echo "using PV-GRUB kernel $kernel" ami=$(ec2-register "$bucket/nixos.img.manifest.xml" -n "$bucket" -d "NixOS $system r$revision" \ - --region "$region" --kernel "$kernel" | cut -f 1) + --region "$region" --kernel "$kernel" | cut -f 2) echo "AMI ID is $ami"