-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image: allow autologin on TTY1 for STACKIT cloud (#3499)
- Loading branch information
Showing
5 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ enable systemd-timesyncd.service | |
enable systemd-networkd.service | ||
enable systemd-networkd-wait-online.service | ||
enable configure-constel-csp.service | ||
enable [email protected] | ||
enable dbus.service | ||
enable dbus-broker.service | ||
enable dbus-daemon.service | ||
|
11 changes: 11 additions & 0 deletions
11
image/sysroot-tree/usr/lib/systemd/system/[email protected]/autologin.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
4 changes: 2 additions & 2 deletions
4
image/sysroot-tree/usr/lib/systemd/system/[email protected]/autologin.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters