summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/distros/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 40af8802..b1192e84 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -112,7 +112,7 @@ class Distro(object):
raise NotImplementedError()
def get_primary_arch(self):
- arch = os.uname[4]
+ arch = os.uname()[4]
if arch in ("i386", "i486", "i586", "i686"):
return "i386"
return arch