mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-25 12:12:15 +02:00
KASM-4038 add yaml config options for new CLI params
This commit is contained in:
parent
a2d2e48bd4
commit
22ec1c6dbd
3
spec/fixtures/defaults_config.yaml
vendored
3
spec/fixtures/defaults_config.yaml
vendored
@ -4,6 +4,9 @@ desktop:
|
|||||||
height: 768
|
height: 768
|
||||||
allow_resize: true
|
allow_resize: true
|
||||||
pixel_depth: 24
|
pixel_depth: 24
|
||||||
|
gpu:
|
||||||
|
hw3d: false
|
||||||
|
drinode: /dev/dri/renderD128
|
||||||
|
|
||||||
network:
|
network:
|
||||||
protocol: http
|
protocol: http
|
||||||
|
@ -2242,6 +2242,24 @@ sub DefineConfigToCLIConversion {
|
|||||||
isPresent($value) && $value ne 'auto';
|
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;
|
%cliArgMap = map { ("-" . $_->{name}) => $_ } @xvncOptions;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user