From 98add92a203acdd8a40575eeceb642d98e31ec20 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 1 Apr 2025 15:26:37 -0400 Subject: [PATCH] Correct the path to the api key during ubuntu installation --- .../ubuntu22.04/initramfs/scripts/casper-bottom/99confluent | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent b/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent index 90a7fd56..d2ccb5db 100755 --- a/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent +++ b/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent @@ -30,12 +30,12 @@ if [ -e /tmp/cnflnthmackeytmp ]; then else APIKEY= chroot . custom-installation/confluent/bin/clortho $NODENAME $MGR > /root/custom-installation/confluent/confluent.apikey - APIKEY=$(cat /root/custom-installation/confluent.apikey) + APIKEY=$(cat /root/custom-installation/confluent/confluent.apikey) while [ -z "$APIKEY" ]; do echo "Failure trying to get confluent node token registered, check nodedeploy status, retrying in 5 seconds..." sleep 5 chroot . custom-installation/confluent/bin/clortho $NODENAME $MGR > /root/custom-installation/confluent/confluent.apikey - APIKEY=$(cat /root/custom-installation/confluent.apikey) + APIKEY=$(cat /root/custom-installation/confluent/confluent.apikey) done MGR=[$MGR] nic=$(grep ^MANAGER /custom-installation/confluent/confluent.info|grep fe80::|sed -e s/.*%//|head -n 1)