From bf1019c4973d70c2cd493b27e05ec28769287ec3 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 27 Aug 2020 11:43:55 -0400 Subject: [PATCH] Have -p by itself not generate new site cpio It is not needed for just -p --- confluent_server/bin/osdeploy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/confluent_server/bin/osdeploy b/confluent_server/bin/osdeploy index add5c329..4f26771c 100644 --- a/confluent_server/bin/osdeploy +++ b/confluent_server/bin/osdeploy @@ -228,7 +228,6 @@ def initialize(cmdset): didsomething = True sshutil.initialize_ca() if cmdset.p: - didsomething = True install_tftp_content() if cmdset.l: local_node_trust_setup() @@ -240,7 +239,7 @@ def initialize(cmdset): skh.write(cacert) if cmdset.g: initialize_genesis() - if not didsomething and (cmdset.k or cmdset.l or cmdset.g): + if not didsomething and (cmdset.k or cmdset.l or cmdset.g or cmdset.p): if cmdset.g: updateboot('genesis-x86_64') sys.exit(0)