Skip to content

Add -L flag to curl in scripts/get-flatcar to follow redirects.#1551

Open
bugre wants to merge 1 commit intoposeidon:mainfrom
bugre:fix/flatcar-download-url-now-redirects
Open

Add -L flag to curl in scripts/get-flatcar to follow redirects.#1551
bugre wants to merge 1 commit intoposeidon:mainfrom
bugre:fix/flatcar-download-url-now-redirects

Conversation

@bugre
Copy link
Copy Markdown

@bugre bugre commented Mar 3, 2026

Flatcar downloads from '[channel].flatcar-linux.net' now redirect (302) to 'flatcar.cdn.cncf.io/[channel]', so to still point the base url to flatcar's own domain, adding the '-L' ( '--location' ) will allow the script correctly get the needed files.


$ curl -sI https://stable.release.flatcar-linux.net/amd64-usr/current/version.txt
HTTP/2 302
alt-svc: h3=":443"; ma=2592000
cache-control: max-age=300
location: https://flatcar.cdn.cncf.io/stable/amd64-usr/4459.2.3/version.txt
server: Caddy
date: Tue, 03 Mar 2026 20:40:04 GMT

Needed as downloads from 'channel.flatcar-linux.net' now redirect (302) to 'flatcar.cdn.cncf.io/channel'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant