forked from pool/cloud-init
Robert Schweikert
56f8466848
+ aarch64 does support dmidecode OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=61
12 lines
426 B
Diff
12 lines
426 B
Diff
--- cloudinit/util.py.orig
|
|
+++ cloudinit/util.py
|
|
@@ -2337,7 +2337,7 @@ def read_dmi_data(key):
|
|
|
|
# running dmidecode can be problematic on some arches (LP: #1243287)
|
|
uname_arch = os.uname()[4]
|
|
- if uname_arch.startswith("arm") or uname_arch == "aarch64":
|
|
+ if uname_arch.startswith("arm") or uname_arch.startswith("ppc"):
|
|
LOG.debug("dmidata is not supported on %s", uname_arch)
|
|
return None
|
|
|