2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-01-12 02:52:30 +00:00

Correct the path to the api key during ubuntu installation

This commit is contained in:
Jarrod Johnson
2025-04-01 15:26:37 -04:00
parent 85b19acf5f
commit 98add92a20

View File

@@ -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)