From 19378bbd9daae135fc35b11b6ad42c09a9f9c349 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 20 Nov 2020 15:00:54 +0100 Subject: [PATCH] Fix dynamic-login with grub2 Grub2 messes up arguments with double quotes in them, changing from key="value" to "key=value" [1]. Support this format as well. [1] https://bugzilla.redhat.com/show_bug.cgi?id=950760 Change-Id: Icf4c9f86009d29a342d6e0e21644af680066b0b2 --- .../elements/dynamic-login/static/usr/local/bin/dynamic-login | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diskimage_builder/elements/dynamic-login/static/usr/local/bin/dynamic-login b/diskimage_builder/elements/dynamic-login/static/usr/local/bin/dynamic-login index 5f2534a5..510c74f3 100755 --- a/diskimage_builder/elements/dynamic-login/static/usr/local/bin/dynamic-login +++ b/diskimage_builder/elements/dynamic-login/static/usr/local/bin/dynamic-login @@ -19,14 +19,14 @@ set -o pipefail # Reads an encrypted root password from the kernel command line and set # it to the root user -if [[ $( $SSHDIR/authorized_keys