Verified Commit 54767862 authored by David Runge's avatar David Runge
Browse files

Merge remote-tracking branch 'deimosian/deimosian-master-patch-67154'

* deimosian/deimosian-master-patch-67154:
  Fixes failure to retry script download. Tested and verified the issue is resolved.
parents 2cbf5abe 679bfc8c
Pipeline #13477 failed with stages
in 12 minutes and 4 seconds
......@@ -16,7 +16,7 @@ automated_script ()
script="$(script_cmdline)"
if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then
if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then
curl "${script}" --location --retry-connrefused -s -o /tmp/startup_script >/dev/null
curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script >/dev/null
rt=$?
else
cp "${script}" /tmp/startup_script
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment