From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Fri, 27 Jan 2023 09:07:35 +0000 (+0700) Subject: doc/cephadm: Fix example commands X-Git-Tag: v18.1.0~435^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3eb28aec3b14fd6f9842a8526efd7f9995fa9d68;p=ceph.git doc/cephadm: Fix example commands 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> --- diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index 18dbfb800f94..c327b37e425d 100644 --- a/doc/cephadm/host-management.rst +++ b/doc/cephadm/host-management.rst @@ -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