diff --git a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent index 30831e88..6f4e0dbd 100644 --- a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent +++ b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent @@ -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 diff --git a/confluent_osdeploy/ubuntu20.04-diskless/profiles/default/scripts/functions b/confluent_osdeploy/ubuntu20.04-diskless/profiles/default/scripts/functions index d70c63db..170cb897 100644 --- a/confluent_osdeploy/ubuntu20.04-diskless/profiles/default/scripts/functions +++ b/confluent_osdeploy/ubuntu20.04-diskless/profiles/default/scripts/functions @@ -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