summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lane <rlane@wikimedia.org>2011-01-07 20:29:35 +0000
committerTarmac <>2011-01-07 20:29:35 +0000
commit0ed247f360f77f0a4a469a8d3b155ac5fcfa509c (patch)
treeaab931390c4fbe37e90deb094e389abd655c4d6f
parent05ccbb75c45aa3c348162043495e1a3d279e5b06 (diff)
parent5e34b63b874b9c75215b9eeabc8e8e951a866fe7 (diff)
Fixes issue in trunk with downloading s3 images for instance creation.
-rw-r--r--nova/virt/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py
index 0f9df3275..ecf0e5efb 100644
--- a/nova/virt/images.py
+++ b/nova/virt/images.py
@@ -91,7 +91,7 @@ def _fetch_s3_image(image, path, user, project):
else:
cmd = ['/usr/bin/curl', '--fail', '--silent', url]
for (k, v) in headers.iteritems():
- cmd += ['-H', '%s: %s' % (k, v)]
+ cmd += ['-H', '\'%s: %s\'' % (k, v)]
cmd += ['-o', path]
cmd_out = ' '.join(cmd)