From 75082c441847c63425b453ff95d0820c839d8ad7 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 3 Aug 2023 14:03:36 -0400 Subject: [PATCH] Move up creation of ca.pem --- confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel index 8dc85db8..74d47104 100644 --- a/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel +++ b/confluent_osdeploy/esxi7/initramfs/bin/dcuiweasel @@ -94,6 +94,7 @@ while ! grep NODENAME /etc/confluent/confluent.info; do fi done node=$(grep NODENAME: /etc/confluent/confluent.info|head -n 1|awk '{print $2}') +cat /tls/*.pem > /etc/confluent/ca.pem mgr=$(python /opt/confluent/bin/apiclient -c) APIKEY=$(cat /etc/confluent/confluent.apikey) @@ -108,7 +109,6 @@ while [ -z "$APIKEY" ]; do (/clortho $node $mgr || /opt/confluent/bin/clortho $node $mgr) > /etc/confluent/confluent.apikey APIKEY=$(cat /etc/confluent/confluent.apikey) done -cat /tls/*.pem > /etc/confluent/ca.pem /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /etc/confluent/confluent.deploycfg.new profile=$(grep ^profile: /etc/confluent/confluent.deploycfg.new | sed -e 's/^profile: //') /opt/confluent/bin/apiclient /confluent-public/os/$profile/kickstart > /etc/confluent/ks.cfg