{
    "content": [
        {
            "type": "text",
            "text": "# systemd-getty-generator(8) (man)\n\n**Summary:** systemd-getty-generator - Generator for enabling getty instances on the console\n\n**Synopsis:** /lib/systemd/system-generators/systemd-getty-generator\n\n## See Also\n\n- systemd(1)\n- agetty(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (17 lines)\n- **SEE ALSO** (2 lines)\n- **NOTES** (13 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-getty-generator - Generator for enabling getty instances on the console\n\n### SYNOPSIS\n\n/lib/systemd/system-generators/systemd-getty-generator\n\n### DESCRIPTION\n\nsystemd-getty-generator is a generator that automatically instantiates serial-getty@.service\non the kernel console(s), if they can function as ttys and are not provided by the virtual\nconsole subsystem. It will also instantiate serial-getty@.service instances for virtualizer\nconsoles, if execution in a virtualized environment is detected. If execution in a container\nenvironment is detected, it will instead enable console-getty.service for /dev/console, and\ncontainer-getty@.service instances for additional container pseudo TTYs as requested by the\ncontainer manager (see Container Interface[1]). This should ensure that the user is shown a\nlogin prompt at the right place, regardless of which environment the system is started in.\nFor example, it is sufficient to redirect the kernel console with a kernel command line\nargument such as console= to get both kernel messages and a getty prompt on a serial TTY. See\nkernel-parameters.txt[2] for more information on the console= kernel parameter.\n\nsystemd-getty-generator implements systemd.generator(7).\n\nFurther information about configuration of gettys can be found in systemd for Administrators,\nPart XVI: Gettys on Serial Consoles (and Elsewhere)[3].\n\n### SEE ALSO\n\nsystemd(1), agetty(8)\n\n### NOTES\n\n1. Container\nInterface\nhttps://systemd.io/CONTAINERINTERFACE\n\n2. kernel-parameters.txt\nhttps://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt\n\n3. systemd for Administrators, Part XVI: Gettys on Serial Consoles (and Elsewhere)\nhttp://0pointer.de/blog/projects/serial-console.html\n\n\n\nsystemd 249                                                               SYSTEMD-GETTY-GENERATOR(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-getty-generator",
        "section": "8",
        "mode": "man",
        "summary": "systemd-getty-generator - Generator for enabling getty instances on the console",
        "synopsis": "/lib/systemd/system-generators/systemd-getty-generator",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "agetty",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/agetty/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 13,
                "subsections": []
            }
        ]
    }
}