Skip to content

Commit 7cd19af

Browse files
salastrothe-maldridge
authored andcommitted
dracut/adduser: fix autologin kernel option
The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
1 parent 388993e commit 7cd19af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dracut/vmklive/adduser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ _EOF
5252
fi
5353

5454
if [ -n "$AUTOLOGIN" ]; then
55-
sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/run
55+
sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/conf
5656
fi

0 commit comments

Comments
 (0)