Merge lp:~daniel-thewatkins/cloud-init/fix-dmi into lp:~cloud-init-dev/cloud-init/trunk
Proposed by
Dan Watkins
on 2015-03-04
| Status: | Merged |
|---|---|
| Merged at revision: | 1073 |
| Proposed branch: | lp:~daniel-thewatkins/cloud-init/fix-dmi |
| Merge into: | lp:~cloud-init-dev/cloud-init/trunk |
| Diff against target: |
228 lines (+103/-62) 2 files modified
cloudinit/util.py (+51/-19) tests/unittests/test_util.py (+52/-43) |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/cloud-init/fix-dmi |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| cloud-init commiters | 2015-03-04 | Pending | |
|
Review via email:
|
|||
Description of the Change
Convert dmidecode values to sysfs names before looking for them.
dmidecode and /sys/class/dmi/id/* use different names for the same
information. This modified the logic in util.read_dmi_data to map from
dmidecode names to sysfs names before looking in sysfs.
To post a comment you must log in.
| Dan Watkins (daniel-thewatkins) wrote : | # |
lp:~daniel-thewatkins/cloud-init/fix-dmi
updated
on 2015-03-04
- 1073. By Dan Watkins on 2015-03-04
-
Use more consistent logging invocation.


I've tested the code in this branch on Joyent, and it fixes the problem there.