mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 23:16: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
|
||||
[ "${r}" == "${region}" ] && continue
|
||||
echo "Starting copy of $AMI from $region to $r"
|
||||
do_copy "$r" &
|
||||
sleep 15
|
||||
do_copy "$r"
|
||||
done
|
||||
|
||||
wait
|
||||
|
||||
echo "Done"
|
||||
|
Loading…
Reference in New Issue
Block a user