Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- --owner <TENANT_ID> Tenant who should own image.
- --size <SIZE> Size of image data (in bytes). Only used with '--
- location' and '--copy_from'.
- --min-disk <DISK_GB> Minimum size of disk needed to boot image (in
- gigabytes).
- --min-ram <DISK_RAM> Minimum amount of ram needed to boot image (in
- megabytes).
- --location <IMAGE_URL>
- URL where the data for this image already resides. For
- example, if the image data is stored in swift, you
- could specify 'swift+http://tenant%3Aaccount:key@auth_
- url/v2.0/container/obj'. (Note: '%3A' is ':' URL
- encoded.)
- --file <FILE> Local file that contains disk image to be uploaded
- during creation. Alternatively, images can be passed
- to the client via stdin.
- --checksum <CHECKSUM>
- Hash of image data used Glance can use for
- verification. Provide a md5 checksum here.
- --copy-from <IMAGE_URL>
- Similar to '--location' in usage, but this indicates
- that the Glance server should immediately copy the
- data and store it in its configured image store.
- --is-public {True,False}
- Make image accessible to the public.
- --is-protected {True,False}
- Prevent image from being deleted.
- --property <key=value>
- Arbitrary property to associate with image. May be
- used multiple times.
- --human-readable Print image size in a human-friendly format.
- --progress Show upload progress bar.
- openstack@opens-controller:~$ cd /home/openstack/Documents/
- openstack@opens-controller:~/Documents$ ls
- admin-openrc.sh demo-openrc.sh images
- openstack@opens-controller:~/Documents$ clear
- **************************************
- openstack@opens-controller:~/Documents$ source admin-openrc.sh
- ************************************************
- openstack@opens-controller:~/Documents$ cd images/
- openstack@opens-controller:~/Documents/images$ glance help image-create
- usage: glance image-create [--property <key=value>] [--file <FILE>]
- [--progress]
- <unavailable>
- Create a new image.
- Positional arguments:
- <unavailable> Please run with connection parameters set to retrieve
- the schema for generating help for this command
- Optional arguments:
- --property <key=value>
- Arbitrary property to associate with image. May be
- used multiple times.
- --file <FILE> Local file to save downloaded image data to. If this
- is not specified the image data will be written to
- stdout.
- --progress Show upload progress bar.
Advertisement
Add Comment
Please, Sign In to add comment