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:
Michael Marineau 2014-04-23 10:39:34 -07:00
parent a4f56f942c
commit d26a5f6c93

View File

@ -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"