1SYSTEMD-GETTY-GENERATOR(8)  systemd-getty-generator SYSTEMD-GETTY-GENERATOR(8)
2
3
4

NAME

6       systemd-getty-generator - Generator for enabling getty instances on the
7       console
8

SYNOPSIS

10       /usr/lib/systemd/system-generators/systemd-getty-generator
11

DESCRIPTION

13       systemd-getty-generator is a generator that automatically instantiates
14       serial-getty@.service on the kernel console(s), if they can function as
15       ttys and are not provided by the virtual console subsystem. It will
16       also instantiate serial-getty@.service instances for virtualizer
17       consoles, if execution in a virtualized environment is detected. If
18       execution in a container environment is detected, it will instead
19       enable console-getty.service for /dev/console, and
20       container-getty@.service instances for additional container pseudo TTYs
21       as requested by the container manager (see Container Interface[1]).
22       This should ensure that the user is shown a login prompt at the right
23       place, regardless of which environment the system is started in. For
24       example, it is sufficient to redirect the kernel console with a kernel
25       command line argument such as console= to get both kernel messages and
26       a getty prompt on a serial TTY. See kernel-parameters.txt[2] for more
27       information on the console= kernel parameter.
28
29       systemd-getty-generator implements systemd.generator(7).
30
31       Further information about configuration of gettys can be found in
32       systemd for Administrators, Part XVI: Gettys on Serial Consoles (and
33       Elsewhere)[3].
34

SEE ALSO

36       systemd(1), agetty(8)
37

NOTES

39        1. Container
40               Interface
41           https://systemd.io/CONTAINER_INTERFACE
42
43        2. kernel-parameters.txt
44           https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
45
46        3. systemd for Administrators, Part XVI: Gettys on Serial Consoles
47           (and Elsewhere)
48           http://0pointer.de/blog/projects/serial-console.html
49
50
51
52systemd 249                                         SYSTEMD-GETTY-GENERATOR(8)
Impressum