mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-26 05:00:46 +00:00
Fix osdeploy -u
If running osdeploy -u by itself, we did in fact do something.
This commit is contained in:
@@ -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 '
|
||||
|
Reference in New Issue
Block a user