Skip to content
Snippets Groups Projects
Commit a2d2022c authored by Florian Pritz's avatar Florian Pritz Committed by Gerardo Exequiel Pozzi
Browse files

archiso_pxe_http: curl should follow redirects


Signed-off-by: default avatarFlorian Pritz <bluewind@xinu.at>
parent e2eca412
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ _curl_get() {
local _dst="${2}"
msg ":: Downloading '${_url}'"
if ! curl -f -o "/run/archiso/httpspace/${archisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then
if ! curl -L -f -o "/run/archiso/httpspace/${archisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then
echo "ERROR: Downloading '${_url}'"
echo " Falling back to interactive prompt"
echo " You can try to fix the problem manually, log out when you are finished"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment