Merge pull request #784 from PuffyZA/patch-1

Fix incorrect key in user_info
This commit is contained in:
Michael Hudson-Doyle 2020-06-12 11:27:47 +12:00 committed by GitHub
commit 6b99a1c399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class SubiquityModel:
'passwd': user.password, 'passwd': user.password,
'shell': '/bin/bash', 'shell': '/bin/bash',
'groups': groups, 'groups': groups,
'lock-passwd': False, 'lock_passwd': False,
} }
if self.ssh.authorized_keys: if self.ssh.authorized_keys:
user_info['ssh_authorized_keys'] = self.ssh.authorized_keys user_info['ssh_authorized_keys'] = self.ssh.authorized_keys