mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 15:15:56 +03:00
[GH-ISSUE #1703] Can not set archlinux_mirror to a https repo #573
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#573
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PhilipColman on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1703
[]: This bug persists when memory is increased beyond 8GB.
Describe the bug
when setting arch linux repo to an https repo when boot arch installer netboot fails to download https://http://path.tp.https.repo/the path to the iso looking and not adding https it use http
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not to assume my arch repo support http, and explicit setting https should have have http prepended to it
Screenshots
Additional context
@antonym commented on GitHub (Nov 17, 2025):
@claude
@claude[bot] commented on GitHub (Nov 17, 2025):
Claude finished @antonym's task —— View job •
claude/issue-1703-20251117-0220• Create PR ➔✅ Fixed archlinux_mirror HTTPS URL bug
Todo List:
Problem Fixed
The issue was in
/home/runner/work/netboot.xyz/netboot.xyz/roles/netbootxyz/templates/menu/archlinux.ipxe.j2where hardcodedhttp://prefixes were being added to archlinux_mirror URLs, causing malformed URLs when users set HTTPS mirrors.Changes Made
Before:
After:
Result
Now when users set
archlinux_mirrortohttps://mirror.example.com, the URLs will be correctly formatted as:https://mirror.example.com/archlinux/iso/...✅Instead of the previously malformed:
http://https://mirror.example.com/archlinux/iso/...❌@antonym commented on GitHub (Nov 17, 2025):
@claude adjust default mirror in defaults to include http:// as well
@claude[bot] commented on GitHub (Nov 17, 2025):
Claude finished @antonym's task —— View job •
claude/issue-1703-20251117-0226• Create PR ➔✅ Updated default archlinux mirror with http:// prefix
📋 Todo List
Change Made
Updated the default
archlinux_mirrorconfiguration in/home/runner/work/netboot.xyz/netboot.xyz/roles/netbootxyz/defaults/main.ymlto include thehttp://prefix:Before:
After:
This ensures backward compatibility with the existing HTTP-based mirror while still allowing users to override it with HTTPS URLs if desired. The recent fix removed hardcoded
http://prefixes from the iPXE template, so now the default explicitly includes the protocol.•
claude/issue-1703-20251117-0226@antonym commented on GitHub (Nov 17, 2025):
@claude create PR
@claude[bot] commented on GitHub (Nov 17, 2025):
Claude finished @antonym's task —— View job •
claude/issue-1703-20251117-0231• Create PR ➔✅ PR Created for archlinux_mirror HTTPS fix
📋 Todo List
Problem Fixed
The issue was that hardcoded
http://prefixes in the archlinux.ipxe.j2 template were causing malformed URLs when users set HTTPS mirrors.Changes Made
Before:
After:
Also updated the default archlinux mirror from
mirrors.kernel.orgtohttp://mirrors.kernel.orgfor backward compatibility.Result
Now when users set
archlinux_mirrortohttps://mirror.example.com, the URLs will be correctly formatted as:https://mirror.example.com/archlinux/iso/...✅Instead of the previously malformed:
http://https://mirror.example.com/archlinux/iso/...❌•
claude/issue-1703-20251117-0231@antonym commented on GitHub (Nov 17, 2025):
I think it was done this way because of a hack needed to do DNS resolution with DNS:
nslookup real_archlinux_mirror ${archlinux_mirror}
if that string has the http/https, I believe the nslookup fails:
https://github.com/netbootxyz/netboot.xyz/blob/development/roles/netbootxyz/templates/menu/archlinux.ipxe.j2#L15
Would need further investigation to see if the issue is fixed.
@PhilipColman commented on GitHub (Nov 19, 2025):
Update the arhclinux config on my system with the three lines on the PR, i am getting error 410de18f now witch seems TLS error?