Comment 4 for bug 1408088

Revision history for this message
Kurt Huwig (k-huwig-f) wrote : Re: not able to upload binary files when booting a vm

I can confirm, that this change works. For Icehouse I've used

--- servers.py.orig 2015-01-08 10:17:20.970389398 +0000
+++ servers.py 2015-01-08 10:17:37.053987841 +0000
@@ -492,7 +492,7 @@
                     data = file_or_string
                 personality.append({
                     'path': filepath,
- 'contents': base64.b64encode(data.encode('utf-8')),
+ 'contents': base64.b64encode(data).encode('utf-8'),
                 })

         if availability_zone: