From 6b94a8fa22f0774606b81d97cc2af348e428f380 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 11 Jun 2025 15:19:52 -0400 Subject: [PATCH] Add openssh-keysign to el10 distributions --- confluent_osdeploy/el8/profiles/default/initprofile.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_osdeploy/el8/profiles/default/initprofile.sh b/confluent_osdeploy/el8/profiles/default/initprofile.sh index fa9c20ab..bbc619ce 100644 --- a/confluent_osdeploy/el8/profiles/default/initprofile.sh +++ b/confluent_osdeploy/el8/profiles/default/initprofile.sh @@ -3,6 +3,9 @@ sed -i 's/centos/CentOS/; s/rhel/Red Hat Enterprise Linux/; s/oraclelinux/Oracle if grep Fedora $2/profile.yaml > /dev/null; then sed -i 's/@^minimal-environment/#/' $2/packagelist fi +if grep ^label: $2/profile.yaml | grep 10 > /dev/null; then + echo 'echo openssh-keysign >> /tmp/addonpackages' > $2/scripts/pre.d/enablekeysign +fi ln -s $1/images/pxeboot/vmlinuz $2/boot/kernel && \ ln -s $1/images/pxeboot/initrd.img $2/boot/initramfs/distribution mkdir -p $2/boot/efi/boot