Commit 35ae681 1 parent a9b81e3 commit 35ae681 Copy full SHA for 35ae681
File tree 1 file changed +0
-23
lines changed
cli/src/pcluster/resources/imagebuilder
1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -57,21 +57,6 @@ phases:
57
57
fi
58
58
59
59
echo ${!OS}
60
- - name : OperatingSystemVersion
61
- action : ExecuteBash
62
- inputs :
63
- commands :
64
- - |
65
- set -v
66
- FILE=/etc/os-release
67
- if [ -e ${!FILE} ]; then
68
- . ${!FILE}
69
- echo "${!VERSION_ID}"
70
- else
71
- echo "The file '${!FILE}' does not exist. Failing build."
72
- exit {{ FailExitCode }}
73
- fi
74
-
75
60
76
61
# Get platform name
77
62
- name : PlatformName
@@ -166,14 +151,6 @@ phases:
166
151
set -v
167
152
OS='{{ build.OperatingSystemName.outputs.stdout }}'
168
153
PLATFORM='{{ build.PlatformName.outputs.stdout }}'
169
- VERSION='{{ build.OperatingSystemVersion.outputs.stdout }}'
170
- if [[ ${!OS} == rhel9 ]] || [[ ${!OS} == rocky9 ]]; then
171
- if [[ ! -f /etc/yum/vars/releasever ]]; then
172
- echo "yes" > /opt/parallelcluster/pin_releasesever
173
- echo ${!VERSION} > /etc/yum/vars/releasever
174
- yum clean all
175
- fi
176
- fi
177
154
178
155
if [[ ${!PLATFORM} == RHEL ]]; then
179
156
yum -y install jq
You can’t perform that action at this time.
0 commit comments