From b4926b39feb1e43cf8faa4ade0e15e353da0cb75 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 22 Mar 2021 12:16:32 -0400 Subject: [PATCH] Fix CA in installer env in ubuntu --- confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh index 27f178a9..98f6dcca 100755 --- a/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh +++ b/confluent_osdeploy/ubuntu20.04/profiles/default/scripts/post.sh @@ -64,6 +64,7 @@ echo "Match LocalPort 22" >> /etc/ssh/sshd_config echo " ChrootDirectory /target" >> /etc/ssh/sshd_config kill -HUP $(cat /run/sshd.pid) cat /target/etc/confluent/tls/*.pem > /target/etc/confluent/ca.pem +cat /target/etc/confluent/tls/*.pem > /etc/confluent/ca.pem chroot /target bash -c "source /etc/confluent/functions; run_remote_parts post" source /target/etc/confluent/functions run_remote_config post