05core/coreos-liveiso-autologin-generator: support kmscon autologin

This is related to [1]. Needs [2] to land as well to work.

[1] https://github.com/coreos/fedora-coreos-tracker/issues/2086
[2] https://gitlab.com/fedora/bootc/base-images/-/merge_requests/775
This commit is contained in:
Dusty Mabe 2026-09-26 10:41:04 -04:00
parent 352da34130
commit 2893894b31

View file

@ -78,7 +78,11 @@ if jq -e .userConfigProvided /etc/.ignition-result.json &>/dev/null; then
exit 0
fi
# F44 and older getty@.service
write_dropin "getty@.service" "--noclear"
# F45 and newer kmsconvt@.service
# https://fedoraproject.org/wiki/Changes/UseKmsconVTConsole
write_dropin "kmsconvt@.service" "--noclear"
# Also autologin on serial console if someone enables that
write_dropin "serial-getty@.service" "--keep-baud 115200,38400,9600"