mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
fix(oem/ami): Fix uploading AMI id files, broken by a55f566b.
This commit is contained in:
parent
441a982a39
commit
68af44d961
@ -60,6 +60,16 @@ if [[ ! -n "$VER" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -z "$GROUP" ]]; then
|
||||||
|
if [[ "$BOARD" == "amd64-generic" ]]; then
|
||||||
|
GROUP="dev-channel"
|
||||||
|
elif [[ "$BOARD" == "amd64-usr" ]]; then
|
||||||
|
GROUP="alpha"
|
||||||
|
else
|
||||||
|
GROUP="$BOARD"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
declare -A AMIS
|
declare -A AMIS
|
||||||
for r in "${!AKI[@]}"; do
|
for r in "${!AKI[@]}"; do
|
||||||
AMI=$(ec2-describe-images --region=${r} -F name="CoreOS-$GROUP-$VER" \
|
AMI=$(ec2-describe-images --region=${r} -F name="CoreOS-$GROUP-$VER" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user