From a05bfcec80cd5b188d1f3281f088d6333f90a531 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 15 May 2020 20:13:06 -0400 Subject: [PATCH] Fix suse15 firstboot It was not using correct CA path nor was it filling in authentication headers. --- confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh index 454122da..1f873835 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/firstboot.sh @@ -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