mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 19:40:12 +00:00
Fix EL host based authentication
This commit is contained in:
parent
0c575456e3
commit
dcda6a1080
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user