From 0cd1331887b10afa38e244fd8c841aac37931bba Mon Sep 17 00:00:00 2001 From: Audiobuzz Date: Sat, 13 Jun 2026 02:28:48 +0000 Subject: [PATCH] change iso mirror location --- diskless.pkr.hcl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/diskless.pkr.hcl b/diskless.pkr.hcl index a6ca4f7..336c13f 100644 --- a/diskless.pkr.hcl +++ b/diskless.pkr.hcl @@ -37,14 +37,18 @@ packer { variable "iso_url" { type = string - description = "RHEL 9 / Rocky 9 / Alma 9 install ISO URL or local path. The minimal ISO is sufficient: ks.cfg installs only core+sshd from it and the provisioner pulls the diskless tooling from the online repos." - default = "https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9-latest-x86_64-minimal.iso" + description = "RHEL 9 / Rocky 9 / Alma 9 install ISO URL or local path. The minimal ISO is sufficient: ks.cfg installs only core+sshd from it and the provisioner pulls the diskless tooling from the online repos. Defaults to the fast internal mirror (version-pinned to match iso_checksum)." + default = "http://iso-server.bitasylum.org/isos/Rocky-9.8-x86_64-minimal.iso" } variable "iso_checksum" { type = string - description = "ISO checksum. The CHECKSUM manifest covers every variant (minimal/dvd/boot); Packer matches the entry by iso_url's filename, so this stays the same when switching variants." - default = "file:https://download.rockylinux.org/pub/rocky/9/isos/x86_64/CHECKSUM" + # Pinned sha256 of Rocky-9.8-x86_64-minimal.iso on the internal mirror. + # When moving to a new point release, bump iso_url AND this hash together: + # curl -fsSL http://iso-server.bitasylum.org/isos/Rocky--x86_64-minimal.iso | sha256sum + # (or `sha256sum` the file on iso-server). Set "none" to skip verification. + description = "ISO checksum as sha256: (or file:, or none)." + default = "sha256:d338032cd1cdd41c67139f2f71b4c832c8e4a21943106519db9c7137df7a63d4" } variable "image_version" {