From 7cd19aff060bfd1bd3962de8885a087650f077d1 Mon Sep 17 00:00:00 2001 From: salahdin-ahmed Date: Mon, 24 May 2021 12:08:11 +0200 Subject: [PATCH] dracut/adduser: fix autologin kernel option The sed replacment should be in agetty-tty1/conf not agetty-tty1/run --- dracut/vmklive/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/vmklive/adduser.sh b/dracut/vmklive/adduser.sh index dbcbd35..6b5ff09 100644 --- a/dracut/vmklive/adduser.sh +++ b/dracut/vmklive/adduser.sh @@ -52,5 +52,5 @@ _EOF fi if [ -n "$AUTOLOGIN" ]; then - sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/run + sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/conf fi