summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-21 21:35:33 +0000
committerGerrit Code Review <review@openstack.org>2015-09-21 21:35:33 +0000
commitb2e72e6aee37a55fc30fecf70f1ce7f5a824031e (patch)
treefc4e9c0547774a20da3b985834bd83fe4f24bf77 /doc/source/command-objects
parent0857da76d9bfc30430f7de58a8c508c169a35843 (diff)
parentf5b50df8ea6de7e763f1c2e7079429d9c783f963 (diff)
downloadpython-openstackclient-b2e72e6aee37a55fc30fecf70f1ce7f5a824031e.tar.gz
Merge "Add image create support for image v2"
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/image.rst21
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 25741424..8e44f517 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -7,7 +7,7 @@ Image v1, v2
image create
------------
-*Only supported for Image v1*
+*Image v1, v2*
Create/upload an image
@@ -32,6 +32,7 @@ Create/upload an image
[--protected | --unprotected]
[--public | --private]
[--property <key=value> [...] ]
+ [--tag <tag> [...] ]
<image-name>
.. option:: --id <id>
@@ -42,6 +43,8 @@ Create/upload an image
Upload image to this store
+ *Image version 1 only.*
+
.. option:: --container-format <container-format>
Image container format (default: bare)
@@ -54,10 +57,14 @@ Create/upload an image
Image owner project name or ID
+ *Image version 1 only.*
+
.. option:: --size <size>
Image size, in bytes (only used with --location and --copy-from)
+ *Image version 1 only.*
+
.. option:: --min-disk <disk-gb>
Minimum disk size needed to boot image, in gigabytes
@@ -70,10 +77,14 @@ Create/upload an image
Download image from an existing URL
+ *Image version 1 only.*
+
.. option:: --copy-from <image-url>
Copy image from the data store (similar to --location)
+ *Image version 1 only.*
+
.. option:: --file <file>
Upload image from local file
@@ -90,6 +101,8 @@ Create/upload an image
Image hash used for verification
+ *Image version 1 only.*
+
.. option:: --protected
Prevent image from being deleted
@@ -110,6 +123,12 @@ Create/upload an image
Set a property on this image (repeat for multiple values)
+.. option:: --tag <tag>
+
+ Set a tag on this image (repeat for multiple values)
+
+ .. versionadded:: 2
+
.. describe:: <image-name>
New image name