From dcda6a10805eb154f01175a2ea8f4951521dcaf2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Sat, 16 May 2020 11:43:38 -0400 Subject: [PATCH] Fix EL host based authentication --- confluent_osdeploy/el8/profiles/default/scripts/post.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/el8/profiles/default/scripts/post.sh b/confluent_osdeploy/el8/profiles/default/scripts/post.sh index 116f3add..a3d52d05 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/post.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/post.sh @@ -22,4 +22,5 @@ cp /etc/ssh/ssh_known_hosts /mnt/sysimage/etc/ssh/ cp /tmp/allnodes /mnt/sysimage/etc/ssh/shosts.equiv cp /tmp/allnodes /mnt/sysimage/root/.shosts cp -a /etc/confluent /mnt/sysimage/etc +nodename=$(grep ^NODENAME /etc/confluent.info|awk '{print $2}') curl -f -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $(cat /etc/confluent.apikey)" https://$mgr/confluent-api/self/nodelist > /tmp/allnodes