From b7a5101a34cc03f70abc725a3ecfc259ff98e457 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 3 May 2024 10:27:01 -0400 Subject: [PATCH] Provide extra warning about redoing SSH materials --- confluent_server/bin/osdeploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index 47ebc4a8..0283553c 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -325,14 +325,14 @@ def initialize(cmdset): try: sshutil.initialize_ca() except sshutil.AlreadyExists: - emprint('Skipping generation of SSH CA, already present and would likely be more problematic to regenerate than to reuse (if absolutely sure you want to discard old CA, then delete /etc/confluent/ssh/ca*)') + emprint('Skipping generation of SSH CA, already present and would likely be more problematic to regenerate than to reuse (if absolutely sure you want to discard old CA, then delete /etc/confluent/ssh/ca* and restart confluent)') if cmdset.a: didsomething = True init_confluent_myname() try: sshutil.initialize_root_key(True, True) except sshutil.AlreadyExists: - emprint('Skipping generation of new automation key, already present and regeneration usually causes more problems. (If absolutely certain, delete /etc/confluent/ssh/automation*)') + emprint('Skipping generation of new automation key, already present and regeneration usually causes more problems. (If absolutely certain, delete /etc/confluent/ssh/automation* and restart confluent)') if cmdset.p: install_tftp_content() if cmdset.l: