~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1073.

  • Committer: Scott Moser
  • Date: 2015-03-04 16:20:08 UTC
  • mfrom: (1071.1.2 fix-dmi)
  • Revision ID: smoser@ubuntu.com-20150304162008-31jxlczzux94p3y8
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: