mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Register CA certs in global location for ubuntu
This commit is contained in:
parent
6d623b046a
commit
82a783fa55
@ -64,6 +64,8 @@ for nic in *; do
|
||||
done
|
||||
mkdir -p /etc/confluent
|
||||
cd - > /dev/null
|
||||
mkdir -p /etc/ssl/certs
|
||||
cat /tls/*.pem > /etc/ssl/certs/ca-certificates.crt
|
||||
cat /tls/*.pem > /etc/confluent/ca.pem
|
||||
/opt/confluent/bin/copernicus -t > /etc/confluent/confluent.info
|
||||
TRIES=0
|
||||
|
@ -22,6 +22,7 @@ function set_confluent_vars() {
|
||||
if [ -z "$nodename" ]; then
|
||||
nodename=$(grep ^NODENAME: /etc/confluent/confluent.info | awk '{print $2}')
|
||||
fi
|
||||
confluent_nodename=$nodename
|
||||
if [[ "$confluent_mgr" == *"%"* ]]; then
|
||||
confluent_mgr=""
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user