2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 01:53:28 +00:00

Fix EL host based authentication

This commit is contained in:
Jarrod Johnson 2020-05-16 11:43:38 -04:00
parent 0c575456e3
commit dcda6a1080

View File

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