From b3943d714275b276a973de9c52307e82c90be8bc Mon Sep 17 00:00:00 2001 From: NiallBunting Date: Mon, 14 Dec 2015 14:28:45 +0000 Subject: Add image re/deactivate commands This change allows admins to deactivate and reactivate their images. Currently this has to be done with the REST api or the glanceclient. This change introduces `--deactivate` and `--activate` for the `image set` command. This requires glanceclient 1.2.0. Which got bumped here: https://review.openstack.org/#/c/257512/ Change-Id: I476c44a0343cdc92d58ddc93fb06470242de2345 Depends-On: I2c370c6bf6ff664d94d756cc76aaa983fbdb8869 Closes-Bug: 1516661 --- doc/source/command-objects/image.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst index d4b99162..6a4782ea 100644 --- a/doc/source/command-objects/image.rst +++ b/doc/source/command-objects/image.rst @@ -243,6 +243,7 @@ Set image properties [--os-distro ] [--os-version ] [--ramdisk-id ] + [--activate|--deactivate] .. option:: --name @@ -387,6 +388,18 @@ Set image properties .. versionadded:: 2 +.. option:: --activate + + Activate the image. + + .. versionadded:: 2 + +.. option:: --deactivate + + Deactivate the image. + + .. versionadded:: 2 + .. describe:: Image to modify (name or ID) -- cgit v1.2.1