diff options
| author | Marek Aufart <maufart@redhat.com> | 2015-06-23 15:11:06 +0200 |
|---|---|---|
| committer | Marek Aufart <maufart@redhat.com> | 2015-07-02 11:02:17 +0200 |
| commit | bd589778c287f1f1b2f7c2dcce7c917e49f956c3 (patch) | |
| tree | 47bfd42833eb6b6fc3e9f09a2c202b139a79f317 /doc/source/command-objects/image.rst | |
| parent | 2eb0f7287f36764405a4fb82488f95bca67f540c (diff) | |
| download | python-openstackclient-bd589778c287f1f1b2f7c2dcce7c917e49f956c3.tar.gz | |
Move update code from image create command
Openstack image create command updates existing image (with same name) by
default. That might be confusing since glance allows create multiple
images with same names and may lead to unwanted image update by image
create command.
Image update code was moved from image create action to image set action.
BackwardsIncompatibleImpact
Change-Id: I1686c6544c366262efab9e33c066d5f8a667f707
Closes-Bug: #1461817
Diffstat (limited to 'doc/source/command-objects/image.rst')
| -rw-r--r-- | doc/source/command-objects/image.rst | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst index 18658651..824d4930 100644 --- a/doc/source/command-objects/image.rst +++ b/doc/source/command-objects/image.rst @@ -210,6 +210,14 @@ Set image properties [--size <size>] [--protected | --unprotected] [--public | --private] + [--store <store>] + [--location <image-url>] + [--copy-from <image-url>] + [--file <file>] + [--volume <volume>] + [--force] + [--checksum <checksum>] + [--stdin] [--property <key=value> [...] ] <image> @@ -260,6 +268,38 @@ Set image properties Image is inaccessible to the public (default) +.. option:: --store <store> + + Upload image to this store + +.. option:: --location <image-url> + + Download image from an existing URL + +.. option:: --copy-from <image-url> + + Copy image from the data store (similar to --location) + +.. option:: --file <file> + + Upload image from local file + +.. option:: --volume <volume> + + Update image with a volume + +.. option:: --force + + Force image update if volume is in use (only meaningful with --volume) + +.. option:: --checksum <checksum> + + Image hash used for verification + +.. option:: --stdin + + Allow to read image data from standard input + .. option:: --property <key=value> Set a property on this image (repeat for multiple values) |
