From d52e59ea62dcc41edad472bf47e61ecfe7cc1ec0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 6 Mar 2024 16:43:43 -0500 Subject: [PATCH] Include lsb-release in base packages For whatever reason, on Debian 12, without lsb-release the ansible_distribution_release variable is undefined, even though it isn't. To work around this, just ensure we always have lsb-release installed to provide a reliable OS version fact. --- templates/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/install.sh b/templates/install.sh index c21e67a..6a9c131 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -93,7 +93,7 @@ case $( uname -m ) in ;; esac # Supplemental packages (installed in chroot after debootstrap) -suppkglist="firmware-linux,firmware-linux-nonfree,firmware-bnx2,firmware-bnx2x,ntp,ipmitool,acpid,acpi-support-base,lsscsi" +suppkglist="firmware-linux,firmware-linux-nonfree,firmware-bnx2,firmware-bnx2x,ntp,ipmitool,acpid,acpi-support-base,lsscsi,lsb-release" # Modules to blacklist (known-faulty) target_module_blacklist=( "hpwdt" )