change to the minimal rocky iso

This commit is contained in:
Audiobuzz
2026-06-13 02:15:04 +00:00
parent 3ca351fbb2
commit 3cd276f86c
2 changed files with 9 additions and 8 deletions
+3 -3
View File
@@ -37,13 +37,13 @@ packer {
variable "iso_url" { variable "iso_url" {
type = string type = string
description = "RHEL 9 / Rocky 9 / Alma 9 DVD ISO URL or local path" 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-dvd.iso" default = "https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9-latest-x86_64-minimal.iso"
} }
variable "iso_checksum" { variable "iso_checksum" {
type = string type = string
description = "ISO checksum, e.g. file:.../CHECKSUM or sha256:<hex>" 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" default = "file:https://download.rockylinux.org/pub/rocky/9/isos/x86_64/CHECKSUM"
} }
+6 -5
View File
@@ -22,14 +22,15 @@ bootloader --location=mbr
reboot reboot
%packages --excludedocs %packages --excludedocs
# Install-time set kept to what the minimal ISO's BaseOS repo reliably carries
# (core + sshd + chrony). The diskless tooling — wpa_supplicant, tpm2-tools,
# tpm2-tss, nvme-cli, cryptsetup, dracut-network, openssl — is installed by the
# Packer shell provisioner from the online repos *before* the initramfs is
# built, so the build does not depend on those packages being bundled on
# whichever ISO variant (minimal or dvd) is used here.
@^minimal-environment @^minimal-environment
kernel kernel
dracut-network
openssh-server openssh-server
wpa_supplicant
tpm2-tools
nvme-cli
cryptsetup
chrony chrony
-plymouth -plymouth
-firewalld -firewalld