Fix incorrect key in user_info

The key lock-passwd in the user_info is incorrect, should be lock_passwd.
This commit is contained in:
Puffy 2020-06-09 16:45:17 +02:00 committed by GitHub
parent 4ef44df38d
commit eb9547b3a9
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,
'shell': '/bin/bash',
'groups': groups,
'lock-passwd': False,
'lock_passwd': False,
}
if self.ssh.authorized_keys:
user_info['ssh_authorized_keys'] = self.ssh.authorized_keys