Fix missing dhcp client install

This commit is contained in:
Audiobuzz
2026-06-13 03:28:22 +00:00
parent d2b14761a6
commit 4a1b3a02b0
+7 -1
View File
@@ -173,7 +173,13 @@ build {
inline = [
"set -euxo pipefail",
"dnf -y install wpa_supplicant tpm2-tools tpm2-tss nvme-cli cryptsetup dracut-network openssl",
# dhcp-client provides dhclient, which the dracut 'network-legacy' module
# (and therefore the 95dot1x-macsec hook's ifup step) requires. RHEL9
# deprecated dhclient in favour of NetworkManager, so the minimal ISO
# omits it; without it network-legacy fails dracut's check() and the
# diskless module 'cannot be installed'. (Strategic path: port the hook to
# the 'network-manager' dracut module — see CLAUDE.md bench-verify notes.)
"dnf -y install wpa_supplicant tpm2-tools tpm2-tss nvme-cli cryptsetup dracut-network dhcp-client openssl",
# Stage etc files into place
"install -D -m0644 /tmp/etc-stage/dot1x/radius-ca.pem /etc/dot1x/radius-ca.pem",