summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-10 12:32:46 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-10 12:32:46 -0500
commitb839ad32b9bf4541583ecbe68a0bd5dd9f12345a (patch)
treece5352d0d3a8932f47c69fb991408bff7b92b2c3 /cloudinit/config
parent0865e5179f2a803f727e83b5e36681613e63fe8a (diff)
downloadvyos-cloud-init-b839ad32b9bf4541583ecbe68a0bd5dd9f12345a.tar.gz
vyos-cloud-init-b839ad32b9bf4541583ecbe68a0bd5dd9f12345a.zip
dmi data: fix failure of reading dmi data for unset dmi values
it is not uncommon to find dmi data in /sys full of 'ff'. utf-8 decoding of those would fail, causing warning and stacktrace. Return '.' instead of \xff. This maps to what dmidecode would return $ dmidecode --string system-product-name .................................
Diffstat (limited to 'cloudinit/config')
0 files changed, 0 insertions, 0 deletions