bundles/users: remove authorized_keys if not set by bundle

This commit is contained in:
Franzi 2020-02-29 13:09:14 +00:00
parent b080492272
commit e5539d508b
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -43,3 +43,6 @@ for username, attrs in node.metadata['users'].items():
'mode': '0600',
}
else:
files[home + '/.ssh/authorized_keys'] = {'delete': True}