Skip to content

Commit d011456

Browse files
Installing Enroot if nvidia is installed or enabled
Signed-off-by: Hanwen <[email protected]>
1 parent e203a86 commit d011456

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_debian.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
action :install_package do
16-
return unless nvidia_enabled?
16+
return unless nvidia_enabled? || nvidia_installed?
1717

1818
bash "Install enroot" do
1919
user 'root'

cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_rhel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and limitations under the License.
1414

1515
action :install_package do
16-
return unless nvidia_enabled?
16+
return unless nvidia_enabled? || nvidia_installed?
1717

1818
package prerequisites do
1919
retries 3

0 commit comments

Comments
 (0)