Skip to content

Commit 5e9c2ec

Browse files
committed
DCV for amzn2023
1 parent 9067bf5 commit 5e9c2ec

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

cookbooks/aws-parallelcluster-platform/resources/dcv/dcv_alinux2023.rb

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ def prereq_packages
3131
end
3232

3333
action_class do
34+
def pre_install
35+
execute 'Install gnome desktop' do
36+
command 'dnf groupinstall "Desktop" -y'
37+
retries 3
38+
retry_delay 5
39+
end
3440

35-
execute 'Install gnome desktop' do
36-
command 'dnf groupinstall "Desktop" -y'
37-
retries 3
38-
retry_delay 5
39-
end
40-
41-
package "xorg-x11-server-Xorg" do
42-
retries 3
43-
retry_delay 5
41+
package "xorg-x11-server-Xorg" do
42+
retries 3
43+
retry_delay 5
44+
end
4445
end
4546
end

0 commit comments

Comments
 (0)