Skip to content

Commit

Permalink
Enabling console autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkWalters-dev authored and DaanDeMeyer committed Jan 22, 2021
1 parent d66e72b commit 5e8fa08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkosi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2945,6 +2945,7 @@ def set_autologin(args: CommandLineArguments, root: str, do_run_build_script: bo
os.chmod(override_file, 0o644)

pam_add_autologin(root, f"{device_prefix}tty1")
pam_add_autologin(root, f"{device_prefix}console")


def set_serial_terminal(args: CommandLineArguments, root: str, do_run_build_script: bool, cached: bool) -> None:
Expand Down

0 comments on commit 5e8fa08

Please sign in to comment.