Commit bd4c015
committed
Fix
Add back the safety net to download package from vault. The overall package installation order is:
1. yum install -y ${!PACKAGE} (from the current mirrorlist of OS repo)
2. If (1) fails, enable vault repo as baseurl and retry the installation
3. If (2) fails, download package rpm from vault
The previous commit 6a820d7 did fix image build on older Rocky minor versions and removed the third safety net. The third safety net could be useful as described in the comment in the codebuild-image failure on Rocky 9, occurring when the parent image does not ship the latest kernel version on the latest Rocky minor version1 parent 106ba30 commit bd4c015
File tree
2 files changed
+11
-1
lines changed- cli/src/pcluster/resources/imagebuilder
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
| |||
0 commit comments