Skip to content

Commit 96990c5

Browse files
committed
Pin minor version for rocky9 AMI build
1 parent f554851 commit 96990c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/src/pcluster/resources/imagebuilder/parallelcluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ phases:
194194
VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
195195
196196
if [[ ${!PLATFORM} == RHEL ]]; then
197-
if [[ ${!OS} == rhel9 ]]; then
197+
if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]]; then
198198
echo ${!VERSION} > /etc/yum/vars/releasever
199199
yum clean all
200200
fi

cli/src/pcluster/resources/imagebuilder/update_and_reboot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ phases:
167167
OS='{{ build.OperatingSystemName.outputs.stdout }}'
168168
PLATFORM='{{ build.PlatformName.outputs.stdout }}'
169169
VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
170-
if [[ ${!OS} == rhel9 ]]; then
170+
if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]]; then
171171
echo ${!VERSION} > /etc/yum/vars/releasever
172172
yum clean all
173173
fi

0 commit comments

Comments
 (0)