mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
mkosi: Switch to autologin via credentials
Let's use the newly added credentials to only enable autologin for /dev/console (systemd-nspawn) and /dev/hvc0 (qemu) instead of enabling autologin for every tty.
This commit is contained in:
parent
e54a8e0fc3
commit
b3db96f230
@ -30,7 +30,6 @@ CacheDirectory=build/mkosi.cache
|
|||||||
|
|
||||||
[Content]
|
[Content]
|
||||||
BuildSourcesEphemeral=yes
|
BuildSourcesEphemeral=yes
|
||||||
Autologin=yes
|
|
||||||
|
|
||||||
ExtraTrees=
|
ExtraTrees=
|
||||||
mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
|
mkosi.crt:/usr/lib/verity.d/mkosi.crt # sysext verification key
|
||||||
@ -134,7 +133,12 @@ Packages=
|
|||||||
zstd
|
zstd
|
||||||
|
|
||||||
[Host]
|
[Host]
|
||||||
Credentials=journal.storage=persistent
|
Credentials=
|
||||||
|
journal.storage=persistent
|
||||||
|
tty.serial.hvc0.agetty.autologin=root
|
||||||
|
tty.serial.hvc0.login.noauth=yes
|
||||||
|
tty.console.agetty.autologin=root
|
||||||
|
tty.console.login.noauth=yes
|
||||||
Incremental=yes
|
Incremental=yes
|
||||||
RuntimeBuildSources=yes
|
RuntimeBuildSources=yes
|
||||||
RuntimeScratch=no
|
RuntimeScratch=no
|
||||||
|
Loading…
Reference in New Issue
Block a user