From 3eb28aec3b14fd6f9842a8526efd7f9995fa9d68 Mon Sep 17 00:00:00 2001 From: Ville Ojamo <14869000+bluikko@users.noreply.github.com> Date: Fri, 27 Jan 2023 16:07:35 +0700 Subject: [PATCH] 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> --- doc/cephadm/host-management.rst | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/doc/cephadm/host-management.rst b/doc/cephadm/host-management.rst index 18dbfb800f94f..c327b37e425de 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 -- 2.47.3