KASM-4038 fix yaml processor to now pass a bool value for hw3d
This commit is contained in:
@@ -2249,7 +2249,22 @@ sub DefineConfigToCLIConversion {
|
||||
name => "desktop.gpu.hw3d",
|
||||
type => KasmVNC::ConfigKey::BOOLEAN
|
||||
})
|
||||
]
|
||||
],
|
||||
toStringSub => sub {
|
||||
$self = shift;
|
||||
my $value = $self->configValue();
|
||||
|
||||
switch($value) {
|
||||
case 'true' {
|
||||
$valuesStr = '-hw3d ';
|
||||
}
|
||||
case 'false' {
|
||||
$valuesStr = ' ';
|
||||
}
|
||||
}
|
||||
|
||||
return $valuesStr;
|
||||
}
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'drinode',
|
||||
|
||||
Reference in New Issue
Block a user