image: allow autologin on TTY1 for STACKIT cloud (#3499)

This commit is contained in:
Markus Rudy 2024-11-27 14:21:43 +01:00 committed by GitHub
parent 900fb3f88b
commit 6d7f687609
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 12 deletions

View file

@ -2,7 +2,6 @@ enable systemd-timesyncd.service
enable systemd-networkd.service
enable systemd-networkd-wait-online.service
enable configure-constel-csp.service
enable serial-getty@tty0.service
enable dbus.service
enable dbus-broker.service
enable dbus-daemon.service

View file

@ -0,0 +1,11 @@
[Unit]
Description=autologin
ConditionPathExists=/proc/cmdline
ConditionKernelCommandLine=|constel.console
ConditionKernelCommandLine=|constel.debug
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin root %I $TERM
[Install]
WantedBy=multi-user.target

View file

@ -1,8 +1,8 @@
[Unit]
Description=autologin
ConditionPathExists=/proc/cmdline
ConditionKernelCommandLine=|constellation.console
ConditionKernelCommandLine=|constellation.debug
ConditionKernelCommandLine=|constel.console
ConditionKernelCommandLine=|constel.debug
[Service]
ExecStart=