From 496f82c662e6a729c337c23c756c924032592792 Mon Sep 17 00:00:00 2001 From: Himani Deshpande Date: Thu, 23 May 2024 06:16:06 -0400 Subject: [PATCH] [Bug] Adding different values for `kernel-open` option --- .../resources/nvidia_driver/partial/_nvidia_driver_common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/aws-parallelcluster-platform/resources/nvidia_driver/partial/_nvidia_driver_common.rb b/cookbooks/aws-parallelcluster-platform/resources/nvidia_driver/partial/_nvidia_driver_common.rb index fe6f149402..b57efaa34c 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/nvidia_driver/partial/_nvidia_driver_common.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/nvidia_driver/partial/_nvidia_driver_common.rb @@ -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"