mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
fix: remove hardcoded http:// prefix from archlinux_mirror URLs
Fixes issue where setting archlinux_mirror to an HTTPS URL would result in malformed URLs like "http://https://mirror.example.com/...". Changes: - Remove hardcoded "http://" prefix from archiso_http_srv parameter - Remove hardcoded "http://" prefix from kernel URL - Remove hardcoded "http://" prefix from initrd URL Now respects the protocol specified in the archlinux_mirror configuration, allowing both HTTP and HTTPS mirrors to work correctly. Fixes #1703 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Antony Messerli <antonym@users.noreply.github.com>
This commit is contained in:
parent
a1d1ad7445
commit
52dd803f86
1 changed files with 3 additions and 3 deletions
|
|
@ -36,9 +36,9 @@ iseq ${os_arch} i686 && goto boot32 ||
|
|||
:boot
|
||||
imgfree
|
||||
set dir ${archlinux_base_dir}/iso/${arch_version}/arch/boot
|
||||
set params archiso_http_srv=http://${real_archlinux_mirror}/${archlinux_base_dir}/iso/${arch_version}/ archisobasedir=arch cms_verify=y ${ipparam} net.ifnames=0 {{ kernel_params }}
|
||||
kernel http://${archlinux_mirror}/${dir}/${os_arch}/vmlinuz-linux ${params}
|
||||
initrd http://${archlinux_mirror}/${dir}/${os_arch}/initramfs-linux.img
|
||||
set params archiso_http_srv=${real_archlinux_mirror}/${archlinux_base_dir}/iso/${arch_version}/ archisobasedir=arch cms_verify=y ${ipparam} net.ifnames=0 {{ kernel_params }}
|
||||
kernel ${archlinux_mirror}/${dir}/${os_arch}/vmlinuz-linux ${params}
|
||||
initrd ${archlinux_mirror}/${dir}/${os_arch}/initramfs-linux.img
|
||||
echo
|
||||
echo MD5sums:
|
||||
md5sum vmlinuz-linux initramfs-linux.img
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue