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:
parent
4ef44df38d
commit
eb9547b3a9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue