summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 4b3fd0cb..9a3d3cd7 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -2342,7 +2342,8 @@ def read_dmi_data(key):
# running dmidecode can be problematic on some arches (LP: #1243287)
uname_arch = os.uname()[4]
if not (uname_arch == "x86_64" or
- (uname_arch.startswith("i") and uname_arch[2:] == "86")):
+ (uname_arch.startswith("i") and uname_arch[2:] == "86") or
+ uname_arch == 'aarch64'):
LOG.debug("dmidata is not supported on %s", uname_arch)
return None