summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOVF.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-10 16:56:44 -0500
committerScott Moser <smoser@ubuntu.com>2016-03-10 16:56:44 -0500
commit41470d29f5888baf7ec78e170cc0d6d981dcf63e (patch)
treefa9777e5efcaddd21d8c0127dcd617ef7e2fac0a /cloudinit/sources/DataSourceOVF.py
parent0865e5179f2a803f727e83b5e36681613e63fe8a (diff)
parentbe38478cd8e11b0e29c70bb881a676628e9f74d5 (diff)
downloadvyos-cloud-init-41470d29f5888baf7ec78e170cc0d6d981dcf63e.tar.gz
vyos-cloud-init-41470d29f5888baf7ec78e170cc0d6d981dcf63e.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 is what dmidecode would return. $ dmidecode --string system-product-name
Diffstat (limited to 'cloudinit/sources/DataSourceOVF.py')
0 files changed, 0 insertions, 0 deletions