KASM-4038 add yaml config options for new CLI params

This commit is contained in:
ryan.kuba
2023-02-16 16:01:11 -08:00
parent a2d2e48bd4
commit 22ec1c6dbd
2 changed files with 21 additions and 0 deletions

View File

@@ -2242,6 +2242,24 @@ sub DefineConfigToCLIConversion {
isPresent($value) && $value ne 'auto';
}
}),
KasmVNC::CliOption->new({
name => 'hw3d',
configKeys => [
KasmVNC::ConfigKey->new({
name => "desktop.gpu.hw3d",
type => KasmVNC::ConfigKey::BOOLEAN
})
]
}),
KasmVNC::CliOption->new({
name => 'drinode',
configKeys => [
KasmVNC::ConfigKey->new({
name => "desktop.gpu.drinode",
type => KasmVNC::ConfigKey::ANY
})
]
}),
);
%cliArgMap = map { ("-" . $_->{name}) => $_ } @xvncOptions;