File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
cli/src/pcluster/resources/imagebuilder Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ phases:
194
194
VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
195
195
196
196
if [[ ${!PLATFORM} == RHEL ]]; then
197
- if [[ ${!OS} == rhel9 ]]; then
197
+ if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]] ; then
198
198
echo ${!VERSION} > /etc/yum/vars/releasever
199
199
yum clean all
200
200
fi
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ phases:
167
167
OS='{{ build.OperatingSystemName.outputs.stdout }}'
168
168
PLATFORM='{{ build.PlatformName.outputs.stdout }}'
169
169
VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
170
- if [[ ${!OS} == rhel9 ]]; then
170
+ if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]] ; then
171
171
echo ${!VERSION} > /etc/yum/vars/releasever
172
172
yum clean all
173
173
fi
You can’t perform that action at this time.
0 commit comments