Skip to content
Snippets Groups Projects
Commit fb93f1cb authored by Jérémy Bobbio (Lunar)'s avatar Jérémy Bobbio (Lunar)
Browse files

Fix “Use code-block:: console in place of bash”

Sadly there is a bug in the parsing of quotes in the `console` lexer.
So revert to `shell` which works fine and remove the prompt.

Also replace some tabs by spaces.
parent 1c5f3b78
No related branches found
No related tags found
No related merge requests found
Pipeline #4612 passed
......@@ -111,12 +111,12 @@ one (and only one) node of the cluster:
To check labels defined on a specific node, one can use the ``docker node
inspect`` command:
.. code-block:: console
.. code-block:: shell
swh:~/swh-mirror$ docker node inspect \
-f '{{ .ID }} [{{ .Description.Hostname}}]: \
{{ range $k, $v := .Spec.Labels }}{{ $k }}={{ $v }}
{{end}}' <node_name>
docker node inspect \
-f '{{ .ID }} [{{ .Description.Hostname}}]:
{{ range $k, $v := .Spec.Labels }}{{ $k }}={{ $v }}
{{end}}' <node_name>
Labels that need to be defined are:
......@@ -357,11 +357,11 @@ replayer service):
.. code-block:: console
swh:~/swh-mirror$ docker service scale swh_storage=1
swh:~/swh-mirror$ docker service update --image \
swh:~/swh-mirror$ docker service scale swh_storage=1
swh:~/swh-mirror$ docker service update --image \
softwareheritage/base:${SWH_IMAGE_TAG} \
swh_storage
swh:~/swh-mirror$ docker service scale swh_storage=16
swh:~/swh-mirror$ docker service scale swh_storage=16
Set up the mirroring components
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment