Merge "Ansible module fix: stream_url"
This commit is contained in:
commit
7618fbda63
@ -31,7 +31,7 @@ class StreamingDownloader(object):
|
|||||||
else:
|
else:
|
||||||
self.hasher = None
|
self.hasher = None
|
||||||
self.chunksize = chunksize
|
self.chunksize = chunksize
|
||||||
resp = requests.get(url, stream=True, verify=verify, certs=certs)
|
resp = requests.get(url, stream=True, verify=verify, cert=certs)
|
||||||
if resp.status_code != 200:
|
if resp.status_code != 200:
|
||||||
raise Exception('Invalid response code: %s' % resp.status_code)
|
raise Exception('Invalid response code: %s' % resp.status_code)
|
||||||
|
|
||||||
|
4
releasenotes/notes/bug-30316-8c53358681e464eb.yaml
Normal file
4
releasenotes/notes/bug-30316-8c53358681e464eb.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Fixes an issue with the ansible deployment interface where raw images
|
||||||
|
could not be streamed correctly to the host.
|
Loading…
x
Reference in New Issue
Block a user