diff --git a/cookbooks/aws-parallelcluster-environment/resources/efa/efa_redhat8.rb b/cookbooks/aws-parallelcluster-environment/resources/efa/efa_redhat8.rb index 17365af70..c954cd14b 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/efa/efa_redhat8.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/efa/efa_redhat8.rb @@ -38,9 +38,9 @@ def conflicting_packages def prerequisites if redhat_on_docker? - %w(versionlock environment-modules) + %w(yum-plugin-versionlock environment-modules) else - %w(versionlock environment-modules libibverbs-utils librdmacm-utils rdma-core-devel) + %w(yum-plugin-versionlock environment-modules libibverbs-utils librdmacm-utils rdma-core-devel) end end end diff --git a/cookbooks/aws-parallelcluster-environment/resources/efa/efa_rocky8.rb b/cookbooks/aws-parallelcluster-environment/resources/efa/efa_rocky8.rb index 602855ca9..3bfded73c 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/efa/efa_rocky8.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/efa/efa_rocky8.rb @@ -37,6 +37,6 @@ def conflicting_packages end def prerequisites - %w(versionlock environment-modules libibverbs-utils librdmacm-utils rdma-core-devel) + %w(yum-plugin-versionlock environment-modules libibverbs-utils librdmacm-utils rdma-core-devel) end end