We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86cead commit a21e88fCopy full SHA for a21e88f
cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_rocky8.rb
@@ -25,10 +25,10 @@
25
bash "Install kernel source" do
26
user 'root'
27
code <<-INSTALL_KERNEL_SOURCE
28
- package="#{kernel_source_package}-#{kernel_source_package_version}"
+ package="#{kernel_source_package}-$(uname -r)"
29
30
# try to install kernel source for a specific release version
31
- dnf install -y ${package} --releasever #{node['kernel']['machine']}
+ dnf install -y ${package} --releasever #{node['platform_version']}
32
if [ $? -ne 0 ]; then
33
# Previous releases are moved into a vault area once a new minor release version is available for at least a week.
34
# https://wiki.rockylinux.org/rocky/repo/#notes-on-devel
0 commit comments