Skip to content

Commit

Permalink
[Bug] Adding different values for kernel-open option
Browse files Browse the repository at this point in the history
  • Loading branch information
Himani Deshpande committed May 23, 2024
1 parent 26a3c9d commit 496f82c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def compiler_version
end

def nvidia_kernel_module
if node['cluster']['nvidia']['kernel_open'] == "false"
if ['off', 'false', '0', 'no', false, 0].include?(node['cluster']['nvidia']['kernel_open'])
"kernel"
else
"kernel-open"
Expand Down

0 comments on commit 496f82c

Please sign in to comment.