2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Fix CA in installer env in ubuntu

This commit is contained in:
Jarrod Johnson 2021-03-22 12:16:32 -04:00
parent 53ccee734f
commit b4926b39fe

View File

@ -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