2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Fix osdeploy -u

If running osdeploy -u by itself,
we did in fact do something.
This commit is contained in:
Jarrod Johnson 2020-06-26 08:11:30 -04:00
parent 7ec7dd4449
commit 283cd6318e

View File

@ -88,8 +88,8 @@ def initialize(cmdset):
else:
didsomething = False
if cmdset.u:
didsomething = True
if not glob.glob('/root/.ssh/*.pub'):
didsomething = True
sys.stderr.write('No user keys for root detected, it is recommended '
'to run ssh-keygen -t ed25519 to generate a user '
'key. For optimal security, a passphrase should be '