From 0366bbd26f7c9ef3396f66531862577affa91ad9 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 13 Mar 2023 17:00:35 -0400 Subject: [PATCH] Place apikey where expected --- .../ubuntu22.04/initramfs/scripts/casper-bottom/99confluent | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent b/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent index 727693fa..c90d507b 100755 --- a/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent +++ b/confluent_osdeploy/ubuntu22.04/initramfs/scripts/casper-bottom/99confluent @@ -21,6 +21,7 @@ if [ -e /tmp/cnflnthmackeytmp ]; then cp $hmackeyfile tmp chroot . custom-installation/confluent/bin/genpasshmac $passfile $passcrypt $hmacfile $hmackeyfile chroot . curl -f -H "CONFLUENT_NODENAME: $NODENAME" -H "CONFLUENT_CRYPTHMAC: $(cat /root/$hmacfile)" -d @/tmp/cnflntcryptfile https://$MGR/confluent-api/self/registerapikey + cp /root/$passfile /root/custom-installation/confluent/confluent.apikey else chroot . custom-installation/confluent/bin/clortho $NODENAME $MGR > /root/custom-installation/confluent/confluent.apikey MGR=[$MGR]