Fixes #37147 - Pass --fail option to curl
This prevents curl from writing out error pages, for example when theURL returns a HTTP 404.
It still doesn't return any error to Foreman since the TFTP/fetch_boot_file only starts a thread and there's no way to monitor it.
Fixes: 3d87c6feaa8c ("Refs #2412 - use curl for downloads")
Fixes #37147 - Pass --fail option to curl
This prevents curl from writing out error pages, for example when the
URL returns a HTTP 404.
It still doesn't return any error to Foreman since the TFTP
/fetch_boot_file only starts a thread and there's no way to monitor it.
Fixes: 3d87c6feaa8c ("Refs #2412 - use curl for downloads")