summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorDavid Moreau Simard <dms@redhat.com>2015-12-09 16:18:54 -0500
committerTang Chen <tangchen@cn.fujitsu.com>2015-12-11 15:34:26 +0800
commita5267772186add4e37c454c5a97d0ea3a1c88a81 (patch)
tree75034d9478d2a80997dda31c118a6a88346a7e26 /doc/source/command-objects
parentf65f82e4350757fcae93891c42ed8b01bb8577f2 (diff)
downloadpython-openstackclient-a5267772186add4e37c454c5a97d0ea3a1c88a81.tar.gz
Make --image parameter optional in "server rebuild"
The command will now default to the image currently in-use by the server, effectively making the --image parameter optional. This commit also adds basic tests for ServerRebuild since there wasn't any. Will add more full tests for it. Change-Id: I733fd3ad5a825f06563c72aa430122e1a0e3b3b0 Closes-bug: #1524406 Co-Authored-By: David Moreau Simard <dms@redhat.com> Co-Authored-By: Tang Chen <tangchen@cn.fujitsu.com>
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/server.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst
index fd487b8e..fc275971 100644
--- a/doc/source/command-objects/server.rst
+++ b/doc/source/command-objects/server.rst
@@ -375,14 +375,15 @@ Rebuild server
.. code:: bash
os server rebuild
- --image <image>
+ [--image <image>]
[--password <password>]
[--wait]
<server>
.. option:: --image <image>
- Recreate server from this image
+ Recreate server from the specified image (name or ID). Defaults to the
+ currently used one.
.. option:: --password <password>