Skip to content

Commit 1b44d03

Browse files
francesco-giordanochenwany
authored andcommitted
Fix gpg key nvidia fabricmanager in amazon linux 2 and centos 7
1 parent 27b2c41 commit 1b44d03

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

attributes/default.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@
180180
'default' => "nvidia-fabric-manager",
181181
'ubuntu' => { 'default' => "nvidia-fabricmanager-470" }
182182
)
183-
default['cluster']['nvidia']['fabricmanager']['repository_key'] = "7fa2af80.pub"
183+
default['cluster']['nvidia']['fabricmanager']['repository_key'] = value_for_platform(
184+
'default' => "D42D0685.pub",
185+
'ubuntu' => { 'default' => "7fa2af80.pub" }
186+
)
184187
default['cluster']['nvidia']['fabricmanager']['version'] = value_for_platform(
185188
'default' => node['cluster']['nvidia']['driver_version'],
186189
# with apt a star is needed to match the package version

0 commit comments

Comments
 (0)