From f6d7a47140d821727864cc0a6806674c900db21e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 2 Jul 2026 14:57:26 -0400 Subject: [PATCH] Successfully indicate install_url and TLS setup While curl and agama download are happy with the CA bundle, zypper was not. Have pre.sh properly set up the CA certs. Additionally, indicate the install subdirectory of the repository to agama via it's cmdline conf. --- .../initramfs/var/lib/dracut/hooks/pre-trigger/01-confluent.sh | 3 +-- confluent_osdeploy/suse16/profiles/server/scripts/pre.sh | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/suse16/initramfs/var/lib/dracut/hooks/pre-trigger/01-confluent.sh b/confluent_osdeploy/suse16/initramfs/var/lib/dracut/hooks/pre-trigger/01-confluent.sh index b422a8f9..2803a489 100644 --- a/confluent_osdeploy/suse16/initramfs/var/lib/dracut/hooks/pre-trigger/01-confluent.sh +++ b/confluent_osdeploy/suse16/initramfs/var/lib/dracut/hooks/pre-trigger/01-confluent.sh @@ -261,8 +261,7 @@ fi ISOSRC=$(blkid -t TYPE=iso9660|grep -Ei ' LABEL="'$ID-$VERSION_ID|sed -e s/:.*//) if [ -z "$ISOSRC" ]; then echo root=live:$proto://$mgr/confluent-public/os/$profilename/distribution/1/LiveOS/squashfs.img >> /etc/cmdline.d/01-confluent.conf - echo inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1 >> /etc/cmdline.d/01-confluent.conf - echo -n " "inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1 >> /run/agama/cmdline.d/agama.conf + echo -n " "inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1/install >> /run/agama/cmdline.d/agama.conf echo -n " "inst.script=$proto://$mgr/confluent-public/os/$profilename/autoinstall.sh" " >> /run/agama/cmdline.d/agama.conf #echo inst.=$proto://$mgr/confluent-public/os/$profilename/distribution >> /etc/cmdline.d/01-confluent.conf #root=anaconda-net:$proto://$mgr/confluent-public/os/$profilename/distribution diff --git a/confluent_osdeploy/suse16/profiles/server/scripts/pre.sh b/confluent_osdeploy/suse16/profiles/server/scripts/pre.sh index 81f0dfc0..e1faaca8 100644 --- a/confluent_osdeploy/suse16/profiles/server/scripts/pre.sh +++ b/confluent_osdeploy/suse16/profiles/server/scripts/pre.sh @@ -11,6 +11,8 @@ if [ "$cryptboot" != "" ] && [ "$cryptboot" != "none" ] && [ "$cryptboot" != "n echo "****Encrypted boot requested, but not implemented for this OS, halting install" while :; do sleep 86400; done fi +cp /etc/confluent/tls/*.pem /etc/pki/trust/anchors/ +update-ca-certificates echo "Initializing SSH" for pubkey in /etc/ssh/ssh_host_*key.pub; do privfile=${pubkey%.pub}