Actions
Bug #33469
closedTFTP Unable to download Flatcar OS
Description
Hi
I can't get foreman to download Flatcar since the download URL is wrong
I want to use "current" as Major Version, but it requires a number and max 5 characters.
Flatcar uses longer numbers and wants you to use "current" as default version, I tried with just putting "1" in but got this error
2021-09-13T11:52:51 8422632b [I] Started POST /tftp/fetch_boot_file
2021-09-13T11:52:51 8422632b [I] Finished POST /tftp/fetch_boot_file with 200 (0.94 ms)
2021-09-13T11:52:51 8422632b [I] [4017770] Started task ["/usr/bin/wget", "--connect-timeout=10", "--dns-timeout=10", "--read-timeout=60", "--tries=3", "--no-check-certificate", "-nv", "-c", "http://stable.release.flatcar-linux.net/amd64-usr/1/flatcar_production_pxe_image.cpio.gz", "-O", "/var/lib/tftpboot/boot/flatcar-mirror-b9cf0j4aWvIS-flatcar_production_pxe_image.cpio.gz"]
2021-09-13T11:52:51 8422632b [W] [4017770] http://stable.release.flatcar-linux.net/amd64-usr/1/flatcar_production_pxe_image.cpio.gz:
2021-09-13T11:52:51 8422632b [W] [4017770] 2021-09-13 11:52:51 ERROR 404: Not Found.
This is the corret download url
https://stable.release.flatcar-linux.net/amd64-usr/current/
but Foreman uses this one
https://stable.release.flatcar-linux.net/amd64-usr/[$version]/
Actions