Skip to content

Commit

Permalink
rbd: update man page to avoid deprecated --secret, --user
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Aug 17, 2012
1 parent 2a36873 commit b403db1
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions doc/man/8/rbd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,20 @@ Parameters

Specifies the snapshot name for the specific operation.

.. option:: --user username
.. option:: --id username

Specifies the username to use with the map command.
Specifies the username (without the ``client.'' prefix) to use with the map command.
.. option:: --secret filename
.. option:: --keyfile filename
Specifies a file containing the secret to use with the map command.
If not specified, ``client.admin'' will be used by default.
.. option:: --keyring filename
Specifies a keyring file containing a secret for the specified user
to use with the map command. If not specified, the default keyring
locations will be searched.
Commands
Expand Down Expand Up @@ -170,7 +177,7 @@ To delete a snapshot::
To map an image via the kernel with cephx enabled::
rbd map myimage --user admin --secret secretfile
rbd map myimage --id admin --keyfile secretfile
To unmap an image::
Expand Down

0 comments on commit b403db1

Please sign in to comment.