Skip to content

Commit f977872

Browse files
committed
pcluster2: Fix gpg key nvidia fabricmanager in amazon linux 2 and centos 7
Port the changes from pcluster3 Fix gpg key nvidia fabricmanager in amazon linux 2 and centos 7 to pcluster2 Signed-off-by: chenwany <[email protected]>
1 parent a9825af commit f977872

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
@@ -130,7 +130,10 @@
130130
'default' => "nvidia-fabric-manager",
131131
'ubuntu' => { 'default' => "nvidia-fabricmanager-470" }
132132
)
133-
default['cfncluster']['nvidia']['fabricmanager']['repository_key'] = "7fa2af80.pub"
133+
default['cfncluster']['nvidia']['fabricmanager']['repository_key'] = value_for_platform(
134+
'default' => "D42D0685.pub",
135+
'ubuntu' => { 'default' => "7fa2af80.pub" }
136+
)
134137
default['cfncluster']['nvidia']['fabricmanager']['version'] = value_for_platform(
135138
'default' => node['cfncluster']['nvidia']['driver_version'],
136139
# with apt a star is needed to match the package version

0 commit comments

Comments
 (0)