mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00

* image: remove autologin via mkosi In mkosi v24 --autologin no longer works for ttyS consoles. Since the CSPs use those exclusively for their serial consoles, we need to replace this with another solution (see next commit) * image: add getty systemd unit for debug images This replaces the mkosi --autologin solution with a getty systemd unit for ttyS0. Note that both console and debug images hace their consoles enabled.
12 lines
324 B
Text
12 lines
324 B
Text
[Unit]
|
|
Description=autologin
|
|
ConditionPathExists=/proc/cmdline
|
|
ConditionKernelCommandLine=|constellation.console
|
|
ConditionKernelCommandLine=|constellation.debug
|
|
|
|
[Service]
|
|
ExecStart=
|
|
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --keep-baud --autologin root 115200,57600,38400,9600 - $TERM
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|