Skip to content

Commit b86cead

Browse files
committed
Get package based on kernel version
1 parent 4f18801 commit b86cead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_rocky8.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
package="#{kernel_source_package}-#{kernel_source_package_version}"
2929
3030
# try to install kernel source for a specific release version
31-
dnf install -y ${package} --releasever #{node['platform_version']}
31+
dnf install -y ${package} --releasever #{node['kernel']['machine']}
3232
if [ $? -ne 0 ]; then
3333
# Previous releases are moved into a vault area once a new minor release version is available for at least a week.
3434
# https://wiki.rockylinux.org/rocky/repo/#notes-on-devel

0 commit comments

Comments
 (0)