]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume simple.activate add --file in help docstring as an example
authorAlfredo Deza <adeza@redhat.com>
Thu, 9 Nov 2017 11:49:49 +0000 (06:49 -0500)
committerAlfredo Deza <adeza@redhat.com>
Thu, 9 Nov 2017 17:02:16 +0000 (12:02 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/devices/simple/activate.py

index f3e7559f812561862b44e26e8c23e0d1894b2cee..fdc50f0fa5149356eeeec9b0f7a57abddb398eba 100644 (file)
@@ -87,10 +87,14 @@ class Activate(object):
     def main(self):
         sub_command_help = dedent("""
         Activate OSDs by mounting devices previously configured to their
-        appropriate destination:
+        appropriate destination::
 
             ceph-volume simple activate {ID} {FSID}
 
+        Or using a JSON file directly::
+
+            ceph-volume simple activate --file /etc/ceph/osd/{ID}-{FSID}.json
+
         The OSD must have been "scanned" previously (see ``ceph-volume simple
         scan``), so that all needed OSD device information and metadata exist.