Add a sane default value for key_id
When key_id is not set, that is defaulting to blank, and is causing duplication errors if two users don't have it set. Defaulting to user title, to ensure that this key will be unique per user. Change-Id: Ie79e461483af9c44d53bb1ca5ed64687b4723f68
This commit is contained in:
parent
b673fc3458
commit
5ccba2b630
@ -8,7 +8,7 @@ define user::virtual::localuser(
|
||||
$gid,
|
||||
$groups = [ 'sudo', 'admin', ],
|
||||
$sshkeys = '',
|
||||
$key_id = '',
|
||||
$key_id = $title,
|
||||
$old_keys = [],
|
||||
$shell = '/bin/bash',
|
||||
$home = "/home/${title}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user