From f524114e56256bcd68fe4b46d853609055725412 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 14 Dec 2022 13:00:24 -0500 Subject: [PATCH] Remove DSA key from install --- confluent_osdeploy/el8/profiles/default/scripts/pre.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index 83bf1802..c65959bb 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -77,6 +77,7 @@ if [ ! -z "$blargs" ]; then echo "bootloader $blargs" > /tmp/grubpw fi ssh-keygen -A +rm ssh_host_dsa_key* for pubkey in /etc/ssh/ssh_host*key.pub; do certfile=${pubkey/.pub/-cert.pub} curl -sf -X POST -H "CONFLUENT_NODENAME: $nodename" -H "CONFLUENT_APIKEY: $(cat /etc/confluent/confluent.apikey)" -d @$pubkey https://$confluent_mgr/confluent-api/self/sshcert > $certfile