From bd589778c287f1f1b2f7c2dcce7c917e49f956c3 Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Tue, 23 Jun 2015 15:11:06 +0200 Subject: 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 --- doc/source/command-objects/image.rst | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'doc/source/command-objects/image.rst') 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 ] [--protected | --unprotected] [--public | --private] + [--store ] + [--location ] + [--copy-from ] + [--file ] + [--volume ] + [--force] + [--checksum ] + [--stdin] [--property [...] ] @@ -260,6 +268,38 @@ Set image properties Image is inaccessible to the public (default) +.. option:: --store + + Upload image to this store + +.. option:: --location + + Download image from an existing URL + +.. option:: --copy-from + + Copy image from the data store (similar to --location) + +.. option:: --file + + Upload image from local file + +.. option:: --volume + + Update image with a volume + +.. option:: --force + + Force image update if volume is in use (only meaningful with --volume) + +.. option:: --checksum + + Image hash used for verification + +.. option:: --stdin + + Allow to read image data from standard input + .. option:: --property Set a property on this image (repeat for multiple values) -- cgit v1.2.1