bundles/users: sort ssh keys
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
121dfb692c
commit
c9e5ae87a1
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ for username, attrs in node.metadata['users'].items():
|
|||
|
||||
if 'ssh_pubkey' in attrs:
|
||||
files[home + '/.ssh/authorized_keys'] = {
|
||||
'content': "\n".join(attrs['ssh_pubkey']),
|
||||
'content': '\n'.join(sorted(attrs['ssh_pubkey'])) + '\n',
|
||||
'owner': username,
|
||||
'mode': '0600',
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue