]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: Fix example commands 49891/head
authorVille Ojamo <14869000+bluikko@users.noreply.github.com>
Fri, 27 Jan 2023 09:07:35 +0000 (16:07 +0700)
committerVille Ojamo <14869000+bluikko@users.noreply.github.com>
Fri, 27 Jan 2023 10:56:44 +0000 (17:56 +0700)
Separate command output block from the command to avoid printing prompt on it.
Also remove double prompt.

Fix indentation of two example commands after prompt.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
doc/cephadm/host-management.rst

index 18dbfb800f94f7c626aebe27d74cf14aa48f0591..c327b37e425de6ccd358de8994676cfd43232f79 100644 (file)
@@ -30,10 +30,13 @@ clusters. For example:
 
 .. prompt:: bash #
 
-   # ceph orch host ls --detail 
-   HOSTNAME     ADDRESS         LABELS  STATUS  VENDOR/MODEL                           CPU    HDD      SSD  NIC  
-   ceph-master  192.168.122.73  _admin          QEMU (Standard PC (Q35 + ICH9, 2009))  4C/4T  4/1.6TB  -    1    
-   1 hosts in cluster
+   ceph orch host ls --detail
+
+::
+
+    HOSTNAME     ADDRESS         LABELS  STATUS  VENDOR/MODEL                           CPU    HDD      SSD  NIC
+    ceph-master  192.168.122.73  _admin          QEMU (Standard PC (Q35 + ICH9, 2009))  4C/4T  4/1.6TB  -    1
+    1 hosts in cluster
 
 .. _cephadm-adding-hosts:    
     
@@ -68,8 +71,8 @@ To add each new host to the cluster, perform two steps:
 
    .. prompt:: bash #
 
-     ceph orch host add host2 10.10.0.102
-     ceph orch host add host3 10.10.0.103
+      ceph orch host add host2 10.10.0.102
+      ceph orch host add host3 10.10.0.103
 
    It is best to explicitly provide the host IP address.  If an IP is
    not provided, then the host name will be immediately resolved via