forked from pool/cloud-init
Accepting request 262579 from home:keutterling:branches:Cloud:Tools
fixed syntax error in dmidecode on ppc64 patch OBS-URL: https://build.opensuse.org/request/show/262579 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=26
This commit is contained in:
parent
c69b90d607
commit
4253bc155c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user