1SYSTEMD-GETTY-GENERATOR(8) systemd-getty-generator SYSTEMD-GETTY-GENERATOR(8)
2
3
4
6 systemd-getty-generator - Generator for enabling getty instances on the
7 console
8
10 /usr/lib/systemd/system-generators/systemd-getty-generator
11
13 systemd-getty-generator is a generator that automatically instantiates
14 serial-getty@.service on the kernel console /dev/console if that is not
15 directed to the virtual console subsystem. It will also instantiate
16 serial-getty@.service instances for virtualizer consoles, if execution
17 in a virtualized environment is detected. Finally, it will instantiate
18 container-getty@.service instances for additional container pseudo TTYs
19 as requested by the container manager (see Container Interface[1]).
20 This should ensure that the user is shown a login prompt at the right
21 place, regardless of which environment the system is started in. For
22 example, it is sufficient to redirect the kernel console with a kernel
23 command line argument such as console= to get both kernel messages and
24 a getty prompt on a serial TTY. See kernel-parameters.txt[2] for more
25 information on the console= kernel parameter.
26
27 systemd-getty-generator implements systemd.generator(7).
28
29 Further information about configuration of gettys you may find in
30 systemd for Administrators, Part XVI: Gettys on Serial Consoles (and
31 Elsewhere)[3].
32
34 systemd(1), agetty(8)
35
37 1. Container
38 Interface
39 http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/
40
41 2. kernel-parameters.txt
42 https://www.kernel.org/doc/Documentation/kernel-parameters.txt
43
44 3. systemd for Administrators, Part XVI: Gettys on Serial Consoles
45 (and Elsewhere)
46 http://0pointer.de/blog/projects/serial-console.html
47
48
49
50systemd 219 SYSTEMD-GETTY-GENERATOR(8)