summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-09-12 12:32:08 -0400
committerScott Moser <smoser@brickies.net>2016-09-12 12:39:11 -0400
commit2aa9b1ddf80ffe7d35e8437c59670856d612e64e (patch)
treec848951aded34cab7437414b30c2170dc1bf2bd7 /HACKING.rst
parent97b5b40e14fd6563b9cac716f202891d4c38ecf6 (diff)
downloadvyos-cloud-init-2aa9b1ddf80ffe7d35e8437c59670856d612e64e.tar.gz
vyos-cloud-init-2aa9b1ddf80ffe7d35e8437c59670856d612e64e.zip
DataSourceOVF: fix user-data as base64 with python3
When user-data was provided in the ovf environment python3 would call base64.decodestring() with a string rather than bytes and an exception would occur. This fixes the broken path and adds unit test. Also changes to return None rather than empty string when there is no user-data and when there is user-data return that as bytes instead of string. LP: #1619394
Diffstat (limited to 'HACKING.rst')
0 files changed, 0 insertions, 0 deletions