From 52b567e7d5f4e337855b458f5a988d1272d4741a Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 29 Jul 2020 10:23:29 +0200 Subject: [PATCH] Trivial: fix a minor issue in standalone docs and improve formatting Follow-up to commit 74e9e1d82a09b5255d2dd326387ac624ac1ba447 Change-Id: I60f7ee85ee7ead430dfe216bfea5392355098bd2 --- doc/source/install/standalone.rst | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/doc/source/install/standalone.rst b/doc/source/install/standalone.rst index 0ca5ec6ea9..a0aa46cbcd 100644 --- a/doc/source/install/standalone.rst +++ b/doc/source/install/standalone.rst @@ -57,24 +57,30 @@ You should make the following changes to ``/etc/ironic/ironic.conf``: JSON RPC also has its own authentication strategy. If it is not specified then the stategy defaults to ``[DEFAULT]`` ``auth_strategy``. The following will - set JSON RPC to ``noauth``:: + set JSON RPC to ``noauth``: + + .. code-block:: ini [json_rpc] - auth_strategy=noauth + auth_strategy = noauth For ``http_basic`` the conductor server needs a credentials file to validate - requests:: + requests: + + .. code-block:: ini [json_rpc] - auth_strategy=http_basic - http_basic_auth_user_file=/etc/ironic/htpasswd-json-rpc + auth_strategy = http_basic + http_basic_auth_user_file = /etc/ironic/htpasswd-json-rpc - The API server also needs client-side credentials to be specified:: + The API server also needs client-side credentials to be specified: + + .. code-block:: ini [json_rpc] - auth_strategy=http_basic - username=myName - password=myPassword + auth_type = http_basic + username = myName + password = myPassword Preparing images ----------------