]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: format airgap install procedure 49149/head
authorZac Dover <zac.dover@gmail.com>
Wed, 30 Nov 2022 04:31:17 +0000 (14:31 +1000)
committerZac Dover <zac.dover@gmail.com>
Wed, 30 Nov 2022 04:53:07 +0000 (14:53 +1000)
Format the procedure that explains how to install an airgapped cluster.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
(cherry picked from commit 60aa262f2de73241b3940e6aa566b7b40a50d191)

doc/cephadm/install.rst

index a19b14c9edc04589bdaa98750f82aecb0efa5e79..51b92e89d91123945afacdbd597a0b57908506aa 100644 (file)
@@ -389,33 +389,33 @@ referred to as "airgapped".
 Ensure your container image is inside the registry and that you
 have access to all hosts you wish to add to the cluster.
 
-Run a local container registry:
+#. Run a local container registry:
 
-.. prompt:: bash #
+   .. prompt:: bash #
 
-   podman run --privileged -d --name registry -p 5000:5000 -v /var/lib/registry:/var/lib/registry --restart=always registry:2
+      podman run --privileged -d --name registry -p 5000:5000 -v /var/lib/registry:/var/lib/registry --restart=always registry:2
 
-If you are using an insecure registry, configure Podman or Docker with the
-hostname and port where the registry is running.
+#. If you are using an insecure registry, configure Podman or Docker with the
+   hostname and port where the registry is running.
 
-.. note:: For every host which accesses the local insecure registry, you will need to repeat this step on the host.
+   .. note:: For every host which accesses the local insecure registry, you will need to repeat this step on the host.
 
-Next, push your container image to your local registry.
+#. Next, push your container image to your local registry.
 
-* Ceph container image. See :ref:`containers`.
-* Prometheus container image
-* Node exporter container image
-* Grafana container image
-* Alertmanager container image
+   * Ceph container image. See :ref:`containers`.
+   * Prometheus container image
+   * Node exporter container image
+   * Grafana container image
+   * Alertmanager container image
 
-Now, create a temporary configuration file for setting the montoring
-images. (See :ref:`cephadm_monitoring-images`):
+#. Now, create a temporary configuration file for setting the montoring images.
+   (See :ref:`cephadm_monitoring-images`):
 
-.. prompt:: bash $
+   .. prompt:: bash $
 
-      cat <<EOF > initial-ceph.conf
+      cat <<EOF > initial-ceph.conf
 
-::
+   ::
 
       [mgr]
       mgr/cephadm/container_image_prometheus *<hostname>*:5000/prometheus
@@ -423,12 +423,11 @@ images. (See :ref:`cephadm_monitoring-images`):
       mgr/cephadm/container_image_grafana *<hostname>*:5000/grafana
       mgr/cephadm/container_image_alertmanager *<hostname>*:5000/alertmanger
 
-Then run bootstrap using the ``--image`` flag with your container image. For
-example:
-
-.. prompt:: bash #
+#. Then run bootstrap using the ``--image`` flag with your container image. For
+   example:
 
-   cephadm --image *<hostname>*:5000/ceph/ceph bootstrap --mon-ip *<mon-ip>*
+   .. prompt:: bash #
 
+      cephadm --image *<hostname>*:5000/ceph/ceph bootstrap --mon-ip *<mon-ip>*
 
 .. _cluster network: ../rados/configuration/network-config-ref#cluster-network