Merge "Allow setting x-image-meta-store through shell on image creation"
This commit is contained in:
@@ -30,7 +30,7 @@ UPDATE_PARAMS = ('name', 'disk_format', 'container_format', 'min_disk',
|
|||||||
# compatibility with the legacy client library
|
# compatibility with the legacy client library
|
||||||
'deleted')
|
'deleted')
|
||||||
|
|
||||||
CREATE_PARAMS = UPDATE_PARAMS + ('id',)
|
CREATE_PARAMS = UPDATE_PARAMS + ('id', 'store')
|
||||||
|
|
||||||
DEFAULT_PAGE_SIZE = 20
|
DEFAULT_PAGE_SIZE = 20
|
||||||
|
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ def do_image_download(gc, args):
|
|||||||
help='ID of image to reserve.')
|
help='ID of image to reserve.')
|
||||||
@utils.arg('--name', metavar='<NAME>',
|
@utils.arg('--name', metavar='<NAME>',
|
||||||
help='Name of image.')
|
help='Name of image.')
|
||||||
|
@utils.arg('--store', metavar='<STORE>',
|
||||||
|
help='Store to upload image to.')
|
||||||
@utils.arg('--disk-format', metavar='<DISK_FORMAT>',
|
@utils.arg('--disk-format', metavar='<DISK_FORMAT>',
|
||||||
help='Disk format of image. ' + DISK_FORMATS)
|
help='Disk format of image. ' + DISK_FORMATS)
|
||||||
@utils.arg('--container-format', metavar='<CONTAINER_FORMAT>',
|
@utils.arg('--container-format', metavar='<CONTAINER_FORMAT>',
|
||||||
|
|||||||
Reference in New Issue
Block a user