debugd: Allow autologin on serial console

This commit is contained in:
Malte Poll 2022-10-11 17:03:49 +02:00 committed by Malte Poll
parent 21617dc7db
commit 93801e1786
3 changed files with 30 additions and 9 deletions

View file

@ -47,7 +47,7 @@ func main() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
if err := deploy.DeleteUserPassword(ctx, "root"); err != nil {
if err := deploy.EnableAutoLogin(ctx, fs, serviceManager); err != nil {
log.Errorf("root login: %w")
}