Allow image register from local file to container
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Tue, 28 Jan 2014 10:36:15 +0000 (12:36 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Tue, 28 Jan 2014 10:36:15 +0000 (12:36 +0200)
commit44443c24c51fe13ad4979011aed2669cd2f0cb98
tree2d277197ae28bfaf5a160215610cd76f960d6419
parenta879970b38b0976cfd59ec00a2209ca59aeac199
Allow image register from local file to container

Refs: #4991

Image register can now accept these options as correct:
--location [pithos://UUID]/CONTAINER --upload-local-file LOCAL_PATH
which is equivalent to this:
--location [pithos://UUID]/CONTAINER/basename(LOCAL_PATH) --upload-local-file LOCAL_PATH
kamaki/cli/commands/image.py