diff --git a/cloud-init-no-dmidecode-on-ppc64.patch b/cloud-init-no-dmidecode-on-ppc64.patch index 5b48dcd..7509f59 100644 --- a/cloud-init-no-dmidecode-on-ppc64.patch +++ b/cloud-init-no-dmidecode-on-ppc64.patch @@ -20,7 +20,7 @@ Index: cloud-init-0.7.5/cloudinit/sources/DataSourceSmartOS.py uname_arch = os.uname()[4] - if uname_arch.startswith("arm") or uname_arch == "aarch64": -+ if uname_arch.startswith("arm") or uname_arch == "aarch64" uname_arch.startswith("ppc"): ++ if uname_arch.startswith("arm") or uname_arch == "aarch64" or uname_arch.startswith("ppc"): # Disabling because dmidcode in dmi_data() crashes kvm process LOG.debug("Disabling SmartOS datasource on arm (LP: #1243287)") return False