[Openstack] How to specify the "container-format" when creating an image in Horizon?

Danny Choi (dannchoi) dannchoi at cisco.com
Mon Aug 25 12:46:09 UTC 2014


With command “glance image-create", user can specify the “container-format” when creating an image:


stack at Controller:~/devstack$ glance help image-create

usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>]

                           [--disk-format <DISK_FORMAT>]

                           [--container-format <CONTAINER_FORMAT>]

                           [--owner <TENANT_ID>] [--size <SIZE>]

                           [--min-disk <DISK_GB>] [--min-ram <DISK_RAM>]

                           [--location <IMAGE_URL>] [--file <FILE>]

                           [--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>]

                           [--is-public {True,False}]

                           [--is-protected {True,False}]

                           [--property <key=value>] [--human-readable]

                           [--progress]


Create a new image.


Optional arguments:

  --id <IMAGE_ID>       ID of image to reserve.

  --name <NAME>         Name of image.

  --store <STORE>       Store to upload image to.

  --disk-format <DISK_FORMAT>

                        Disk format of image. Acceptable formats: ami, ari,

                        aki, vhd, vmdk, raw, qcow2, vdi, and iso.

  --container-format <CONTAINER_FORMAT>

                        Container format of image. Acceptable formats: ami,

                        ari, aki, bare, and ovf.



Where is this option in Horizon?


Thanks,

Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140825/2b8bbe33/attachment.html>


More information about the Openstack mailing list