mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-07 16:55:15 -04:00
image: allow autologin on TTY1 for STACKIT cloud (#3499)
This commit is contained in:
parent
900fb3f88b
commit
6d7f687609
5 changed files with 18 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -1,8 +1,8 @@
|
|||
[Unit]
|
||||
Description=autologin
|
||||
ConditionPathExists=/proc/cmdline
|
||||
ConditionKernelCommandLine=|constellation.console
|
||||
ConditionKernelCommandLine=|constellation.debug
|
||||
ConditionKernelCommandLine=|constel.console
|
||||
ConditionKernelCommandLine=|constel.debug
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue