From: Daan De Meyer Date: Wed, 9 Aug 2023 09:49:49 +0000 (+0200) Subject: Set agetty autologin credentials by default X-Git-Tag: v15~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d3c3bcf8683d383e767a7012a6d31fa3af04960;p=thirdparty%2Fmkosi.git Set agetty autologin credentials by default Eventually we'll replace --autologin with these but for now let's set both. --- diff --git a/mkosi/config.py b/mkosi/config.py index ae77dace1..808f97ee0 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -1857,7 +1857,10 @@ class MkosiConfigParser: def load_credentials(args: argparse.Namespace) -> dict[str, str]: - creds = {} + creds = { + "agetty.autologin": "root", + "login.noauth": "yes", + } d = Path("mkosi.credentials") if args.directory != "" and d.is_dir():