1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Merge pull request #9608 from prb112/OCPBUGS-54319

OCPBUGS-54319: oci-eval-user-data uses dmidecode which is not supported on ppc64le or s390x
This commit is contained in:
openshift-merge-bot[bot]
2025-04-10 23:40:03 +00:00
committed by GitHub

View File

@@ -2,6 +2,13 @@
set -euxo pipefail
# dmidecode is not available on ppc64le/s390x
if [ "$(arch)" == "ppc64le" ] || [ "$(arch)" == "s390x" ]
then
echo "Non OCI architecture... exiting early"
exit 0
fi
chassis_asset_tag="$(dmidecode --string chassis-asset-tag)"
if [ "${chassis_asset_tag}" != "OracleCloud.com" ]
then