Skip to content

Commit e47192d

Browse files
author
Himani Deshpande
committed
[AL2023] Installing the full versions of packages as some of them conflict on Docker but not on EC2
1 parent 0f9c617 commit e47192d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@
1919
use 'partial/_install_packages_common.rb'
2020
use 'partial/_install_packages_rhel_amazon.rb'
2121

22+
23+
action :install do
24+
package new_resource.packages do
25+
# TODO: Installing the full version using option
26+
options '--allowerasing'
27+
retries 10
28+
retry_delay 5
29+
flush_cache({ before: true })
30+
end
31+
end
32+
2233
def default_packages
2334
# environment-modules required by EFA, Intel MPI and ARM PL
2435
# Removed libssh2-devel from base_packages since is not shipped by RedHat 8 and in conflict with package libssh-0.9.6-3.el8.x86_64

0 commit comments

Comments
 (0)