mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 07:26:58 +02:00
fix(oem/ami): Disable parallel AMI copying
The parallelism appears to be what was breaking the fussy ec2 command line tools. Just do it serially instead.
This commit is contained in:
parent
a4f56f942c
commit
d26a5f6c93
@ -135,10 +135,7 @@ for r in "${!AKI[@]}"
|
|||||||
do
|
do
|
||||||
[ "${r}" == "${region}" ] && continue
|
[ "${r}" == "${region}" ] && continue
|
||||||
echo "Starting copy of $AMI from $region to $r"
|
echo "Starting copy of $AMI from $region to $r"
|
||||||
do_copy "$r" &
|
do_copy "$r"
|
||||||
sleep 15
|
|
||||||
done
|
done
|
||||||
|
|
||||||
wait
|
|
||||||
|
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
Loading…
Reference in New Issue
Block a user