From: Daan De Meyer Date: Wed, 31 Jul 2024 14:53:13 +0000 (+0200) Subject: Stop always setting autologin credentials X-Git-Tag: v25~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e87b3a3ae70ffad7bb2df9a9c9f6c332f2a1f7b;p=thirdparty%2Fmkosi.git Stop always setting autologin credentials Let's require users to set these automatically if they want to have autologin without enabling the Autologin= setting. This gives more flexibility after https://github.com/systemd/systemd/pull/33873 is merged in systemd as users can choose to enable the settings globally or per tty depending on what they need. --- diff --git a/mkosi/config.py b/mkosi/config.py index a1d47a51c..2e17be0b4 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -3832,8 +3832,6 @@ def parse_config(argv: Sequence[str] = (), *, resources: Path = Path("/")) -> tu def load_credentials(args: argparse.Namespace) -> dict[str, str]: creds = { - "agetty.autologin": "root", - "login.noauth": "yes", "firstboot.locale": "C.UTF-8", **args.credentials, }