diff --git a/diskimage_builder/elements/dynamic-login/README.rst b/diskimage_builder/elements/dynamic-login/README.rst index 0bb510d2..5265d674 100644 --- a/diskimage_builder/elements/dynamic-login/README.rst +++ b/diskimage_builder/elements/dynamic-login/README.rst @@ -27,9 +27,10 @@ rootpwd :Description: If the operator append rootpwd="$ENCRYPTED_PASSWORD" to the kernel command line on boot, the helper script will set the root password to the one specified by this option. Note that - this password must be **encrypted**. Encrypted passwords - can be generated using the ``openssl`` command, e.g: - *openssl passwd -1*. + this password must be **encrypted**. Interpolation can be + avoided by using $$. Encrypted passwords can be generated + using the ``openssl`` command, e.g: *openssl passwd -1 + -stdin <<< YOUR_PASSWORD | sed 's/\$/\$$/g'*. .. note::