change iso mirror location
This commit is contained in:
+8
-4
@@ -37,14 +37,18 @@ packer {
|
|||||||
|
|
||||||
variable "iso_url" {
|
variable "iso_url" {
|
||||||
type = string
|
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."
|
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 = "https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9-latest-x86_64-minimal.iso"
|
default = "http://iso-server.bitasylum.org/isos/Rocky-9.8-x86_64-minimal.iso"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "iso_checksum" {
|
variable "iso_checksum" {
|
||||||
type = string
|
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."
|
# Pinned sha256 of Rocky-9.8-x86_64-minimal.iso on the internal mirror.
|
||||||
default = "file:https://download.rockylinux.org/pub/rocky/9/isos/x86_64/CHECKSUM"
|
# When moving to a new point release, bump iso_url AND this hash together:
|
||||||
|
# curl -fsSL http://iso-server.bitasylum.org/isos/Rocky-<ver>-x86_64-minimal.iso | sha256sum
|
||||||
|
# (or `sha256sum` the file on iso-server). Set "none" to skip verification.
|
||||||
|
description = "ISO checksum as sha256:<hex> (or file:<CHECKSUM-url>, or none)."
|
||||||
|
default = "sha256:d338032cd1cdd41c67139f2f71b4c832c8e4a21943106519db9c7137df7a63d4"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "image_version" {
|
variable "image_version" {
|
||||||
|
|||||||
Reference in New Issue
Block a user