diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-03-10 12:32:46 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-03-10 12:32:46 -0500 |
commit | b839ad32b9bf4541583ecbe68a0bd5dd9f12345a (patch) | |
tree | ce5352d0d3a8932f47c69fb991408bff7b92b2c3 /systemd | |
parent | 0865e5179f2a803f727e83b5e36681613e63fe8a (diff) | |
download | vyos-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 'systemd')
0 files changed, 0 insertions, 0 deletions