Image Service API v2 (CURRENT) in Image Service API Reference
Bug #1618897 reported by
George Shuklin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
tamil vanan |
Bug Description
Following example in the section "Image data" is incorrect:
curl -i -X PUT -H "X-Auth-Token: $token" \
-H "Content-Type: application/
-d @/home/
$image_
-d option is equal to --data-ascii, which, according to curl man page is:
"When --data is told to read from a file like that, carriage returns and newlines will be stripped out."
This will mange uploaded image.
Proper command line is:
curl -i -X PUT -H "X-Auth-Token: $token" \
-H "Content-Type: application/
--data-binary @/home/
$image_
Changed in openstack-manuals: | |
assignee: | nobody → tamil vanan (tamilhce) |
Changed in openstack-manuals: | |
status: | New → In Progress |
Changed in openstack-manuals: | |
importance: | Undecided → Medium |
tags: | added: user-guide |
To post a comment you must log in.
fix typo.