2014-08-11 17:58:55 +02:00
|
|
|
Index: cloud-init-0.7.5/cloudinit/sources/DataSourceAltCloud.py
|
|
|
|
===================================================================
|
|
|
|
--- cloud-init-0.7.5.orig/cloudinit/sources/DataSourceAltCloud.py
|
|
|
|
+++ cloud-init-0.7.5/cloudinit/sources/DataSourceAltCloud.py
|
|
|
|
@@ -116,7 +116,7 @@ class DataSourceAltCloud(sources.DataSou
|
|
|
|
'''
|
|
|
|
|
|
|
|
uname_arch = os.uname()[4]
|
|
|
|
- if uname_arch.startswith("arm") or uname_arch == "aarch64":
|
|
|
|
+ if uname_arch.startswith("arm") or uname_arch == "aarch64" or uname_arch.startswith("ppc"):
|
|
|
|
# Disabling because dmidecode in CMD_DMI_SYSTEM crashes kvm process
|
|
|
|
LOG.debug("Disabling AltCloud datasource on arm (LP: #1243287)")
|
|
|
|
return 'UNKNOWN'
|
|
|
|
Index: cloud-init-0.7.5/cloudinit/sources/DataSourceSmartOS.py
|
|
|
|
===================================================================
|
|
|
|
--- cloud-init-0.7.5.orig/cloudinit/sources/DataSourceSmartOS.py
|
|
|
|
+++ cloud-init-0.7.5/cloudinit/sources/DataSourceSmartOS.py
|
|
|
|
@@ -175,7 +175,7 @@ class DataSourceSmartOS(sources.DataSour
|
|
|
|
return False
|
|
|
|
|
|
|
|
uname_arch = os.uname()[4]
|
|
|
|
- if uname_arch.startswith("arm") or uname_arch == "aarch64":
|
2014-11-21 23:06:19 +01:00
|
|
|
+ if uname_arch.startswith("arm") or uname_arch == "aarch64" or uname_arch.startswith("ppc"):
|
2014-08-11 17:58:55 +02:00
|
|
|
# Disabling because dmidcode in dmi_data() crashes kvm process
|
|
|
|
LOG.debug("Disabling SmartOS datasource on arm (LP: #1243287)")
|
|
|
|
return False
|