2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-04 13:02:25 +00:00

Fix suse15 firstboot

It was not using correct CA path nor was it filling in
authentication headers.
This commit is contained in:
Jarrod Johnson 2020-05-15 20:13:06 -04:00
parent 5ebe127db2
commit a05bfcec80

View File

@ -7,4 +7,4 @@ mgr=$(grep ^deploy_server /etc/confluent/confluent.deploycfg|awk '{print $2}')
profile=$(grep ^profile: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg |awk '{print $2}')
apikey=$(cat /etc/confluent/confluent.apikey)
curl -f -X POST -d "status: complete" https://$mgr/confluent-api/self/updatestatus
curl --capath /etc/confluent/tls -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $apikey" -f -X POST -d "status: complete" https://$mgr/confluent-api/self/updatestatus