Skip to content

Conversation

@antonym
Copy link
Member

@antonym antonym commented Nov 17, 2025

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
  • Add http:// prefix to default archlinux mirror for backward compatibility

Now respects the protocol specified in the archlinux_mirror configuration, allowing both HTTP and HTTPS mirrors to work correctly.

Fixes #1703

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
- Add http:// prefix to default archlinux mirror for backward compatibility

Now respects the protocol specified in the archlinux_mirror configuration,
allowing both HTTP and HTTPS mirrors to work correctly.

Fixes #1703

Co-authored-by: Antony Messerli <[email protected]>
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.

Can not set archlinux_mirror to a https repo

2 participants