File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
cli/src/pcluster/resources/imagebuilder Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -57,21 +57,6 @@ phases:
5757 fi
5858
5959 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-
7560
7661 # Get platform name
7762 - name : PlatformName
@@ -166,14 +151,6 @@ phases:
166151 set -v
167152 OS='{{ build.OperatingSystemName.outputs.stdout }}'
168153 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
177154
178155 if [[ ${!PLATFORM} == RHEL ]]; then
179156 yum -y install jq
You can’t perform that action at this time.
0 commit comments