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

Have -p by itself not generate new site cpio

It is not needed for just -p
This commit is contained in:
Jarrod Johnson 2020-08-27 11:43:55 -04:00
parent aaff8d281c
commit bf1019c497

View File

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