CreateImageWizard: fix users ssh key naming in mapper
The naming of the ssh key was misspelled, this commit fixes it so that it is according to docs.
This commit is contained in:
parent
8bafe6cb80
commit
608b0f1593
2 changed files with 3 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ export type CustomizationsOnPrem = {
|
|||
openscap?: OpenScap;
|
||||
filesystem?: FileSystemOnPrem[];
|
||||
services?: Services;
|
||||
ssh_key?: SshKeyOnPrem[];
|
||||
sshkey?: SshKeyOnPrem[];
|
||||
hostname?: string;
|
||||
kernel?: Kernel;
|
||||
user?: UserOnPrem[];
|
||||
|
|
@ -105,7 +105,7 @@ export const mapOnPremToHosted = (
|
|||
groups: u.groups,
|
||||
isAdministrator: u.groups?.includes('wheel') || false,
|
||||
}));
|
||||
const user_keys = blueprint.customizations?.ssh_key?.map((k) => ({
|
||||
const user_keys = blueprint.customizations?.sshkey?.map((k) => ({
|
||||
name: k.user,
|
||||
ssh_key: k.key,
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue