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:
parent
7ec7dd4449
commit
283cd6318e
@ -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 '
|
||||
|
Loading…
Reference in New Issue
Block a user