After i create an image, i'd want to upload a cirros.img image that i download from
http://download.cirros-cloud.net/0.3.5/
I try with the PUT api request like openstack documentation says but it returns me always an error and the image has 0 MB size.
The command i use is:
curl -i -X PUT -H "X-Auth-Token: $Token" -H "Content-Type: application/octet-stream" -d "@/home/nic/cirros.img" 192.168.1.107:9292/v2/images/$ID_IMAGE/file