Guest User

Untitled

a guest
Jul 6th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>] [--disk-format <DISK_FORMAT>]
  2. [--container-format <CONTAINER_FORMAT>]
  3. [--owner <TENANT_ID>] [--size <SIZE>]
  4. [--min-disk <DISK_GB>] [--min-ram <DISK_RAM>]
  5. [--location <IMAGE_URL>] [--file <FILE>]
  6. [--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>]
  7. [--is-public {True,False}]
  8. [--is-protected {True,False}]
  9. [--property <key=value>] [--human-readable]
  10. [--progress]
  11.  
  12. Create a new image.
  13.  
  14. Optional arguments:
  15. --id <IMAGE_ID> ID of image to reserve.
  16. --name <NAME> Name of image.
  17. --store <STORE> Store to upload image to.
  18. --disk-format <DISK_FORMAT>
  19. Disk format of image. Acceptable formats: ami, ari,
  20. aki, vhd, vmdk, raw, qcow2, vdi, and iso.
  21. --container-format <CONTAINER_FORMAT>
  22. Container format of image. Acceptable formats: ami,
  23. ari, aki, bare, and ovf.
  24. --owner <TENANT_ID> Tenant who should own image.
  25. --size <SIZE> Size of image data (in bytes). Only used with '--
  26. location' and '--copy_from'.
  27. --min-disk <DISK_GB> Minimum size of disk needed to boot image (in
  28. gigabytes).
  29. --min-ram <DISK_RAM> Minimum amount of ram needed to boot image (in
  30. megabytes).
  31. --location <IMAGE_URL>
  32. URL where the data for this image already resides. For
  33. example, if the image data is stored in swift, you
  34. could specify
  35. 'swift://account:[email protected]/container/obj'.
  36. --file <FILE> Local file that contains disk image to be uploaded
  37. during creation. Alternatively, images can be passed
  38. to the client via stdin.
  39. --checksum <CHECKSUM>
  40. Hash of image data used Glance can use for
  41. verification. Provide a md5 checksum here.
  42. --copy-from <IMAGE_URL>
  43. Similar to '--location' in usage, but this indicates
  44. that the Glance server should immediately copy the
  45. data and store it in its configured image store.
  46. --is-public {True,False}
  47. Make image accessible to the public.
  48. --is-protected {True,False}
  49. Prevent image from being deleted.
  50. --property <key=value>
  51. Arbitrary property to associate with image. May be
  52. used multiple times.
  53. --human-readable Print image size in a human-friendly format.
  54. --progress Show upload progress bar.
Advertisement
Add Comment
Please, Sign In to add comment