Skip to content

Commit c23c913

Browse files
committed
docs: improve rootpwd password generation command
Currently the command is a bit misleading because you need to escape dollar ($) signs. Command copied from DIB dynamic-log element docs [1]. [1]: https://docs.openstack.org/diskimage-builder/latest/elements/dynamic-login/README.html Change-Id: I7d5dc60aec373372f8faae4242a79f18d8a26d14
1 parent 3d42298 commit c23c913

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/source/admin/troubleshooting.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ are used to do this.
7575

7676
dynamic-login element example::
7777

78-
Generate a ENCRYPTED_PASSWORD with the openssl passwd -1 command
78+
Generate a ENCRYPTED_PASSWORD with following command:
79+
.. code-block:: console
80+
openssl passwd -1 -stdin | sed 's/\$/\$\$/g'
81+
7982
Add rootpwd="$ENCRYPTED_PASSWORD" value on the kernel_append_params setting in /etc/ironic/ironic.conf
8083
Restart the ironic-conductor with the command service ironic-conductor restart
8184

0 commit comments

Comments
 (0)