Tell curl to be sane

This commit is contained in:
Greg Hellings
2024-04-10 13:49:55 -05:00
parent 702373e989
commit 375f5ea92c
+2 -2
View File
@@ -77,11 +77,11 @@ downloads:
- |-
for vars in $(find distros/ -name '*.pkrvars.hcl'); do
file=$(echo var.iso.url | packer console -var-file=${vars} -config-type=hcl2 sources/)
files+=("${file}")
files+=("-O" "${file}")
done
- mkdir -p cache
- pushd cache
- curl --parallel -L -O "${files[@]}"
- curl --parallel -L "${files[@]}"
- popd
trigger: