mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix client install exception if /etc/ssh is missing
https://fedorahosted.org/freeipa/ticket/3766
This commit is contained in:
parent
9f223871a7
commit
784f484cad
@ -1411,6 +1411,9 @@ def client_dns(server, hostname, dns_updates=False):
|
||||
update_dns(server, hostname)
|
||||
|
||||
def update_ssh_keys(server, hostname, ssh_dir, create_sshfp):
|
||||
if not os.path.isdir(ssh_dir):
|
||||
return
|
||||
|
||||
pubkeys = []
|
||||
for basename in os.listdir(ssh_dir):
|
||||
if not basename.endswith('.pub'):
|
||||
|
Loading…
Reference in New Issue
Block a user