Hi everyone,
I am relatively new to MAAS and I’m currently trying to build custom images using the official packer-maas repository on an Ubuntu 24.04 server.
While trying to build the AlmaLinux 10 image, I’m hitting a persistent network error during the checksum download phase. It seems like the connection is being reset when reaching out to the AlmaLinux mirrors.
Environment:
-
Packer Version: 1.15.0
-
OS: Ubuntu 24.04 LTS
-
Target Image: AlmaLinux 10 (HCL template)
Error Log:root@maasteste2:~/packer-maas/alma10# packer build alma10.pkr.hcl
Error: 1 error(s) occurred:
* Error downloading checksum file: Get "https://repo.almalinux.org/almalinux/10/isos/amd64/CHECKSUM":
read tcp 10.93.94.2:39840->151.101.3.52:443: read: connection reset by peer
in "file:https://repo.almalinux.org/almalinux/10/isos/amd64/CHECKSUM"
on alma10.pkr.hcl line 79:
(source code not available)
What I’ve tried:
-
Running
packer init(Success, plugins are installed). -
Checking connectivity with
curl -I(Sometimes returns 404 or Connection Reset).
Is this a known issue with the AlmaLinux 10 repository paths in the current template, or could this be related to how the Packer QEMU plugin handles TLS handshakes? Any guidance on how to bypass this or if I should use a specific mirror would be greatly appreciated.
Thank you in advance!