{
    "content": [
        {
            "type": "text",
            "text": "# MACHINE-INFO (man)\n\n## NAME\n\nmachine-info - Local machine information file\n\n## SYNOPSIS\n\n/etc/machine-info\n\n## DESCRIPTION\n\nThe /etc/machine-info file contains machine metadata.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **EXAMPLE**\n- **SEE ALSO**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "MACHINE-INFO",
        "section": "",
        "mode": "man",
        "summary": "machine-info - Local machine information file",
        "synopsis": "/etc/machine-info",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "PRETTYHOSTNAME=\"Lennart's Tablet\"",
            "ICONNAME=computer-tablet",
            "CHASSIS=tablet",
            "DEPLOYMENT=production"
        ],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "os-release",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/os-release/5/json"
            },
            {
                "name": "hostname",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/hostname/5/json"
            },
            {
                "name": "machine-id",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/machine-id/5/json"
            },
            {
                "name": "hostnamectl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/hostnamectl/1/json"
            },
            {
                "name": "hostnamed.service",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/hostnamed.service/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 36,
                "subsections": []
            },
            {
                "name": "EXAMPLE",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "machine-info - Local machine information file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/etc/machine-info\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The /etc/machine-info file contains machine metadata.\n\nThe basic file format of machine-info is a newline-separated list of environment-like\nshell-compatible variable assignments. It is possible to source the configuration from shell\nscripts, however, beyond mere variable assignments no shell features are supported, allowing\napplications to read the file without implementing a shell compatible execution engine.\n\n/etc/machine-info contains metadata about the machine that is set by the user or\nadministrator. The settings configured here have the highest precedence. When not set,\nappropriate values may be determined automatically, based on the information about the\nhardware or other configuration files. It is thus completely fine for this file to not be\npresent.\n\nYou may use hostnamectl(1) to change the settings of this file from the command line.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "The following machine metadata parameters may be set using /etc/machine-info:\n\nPRETTYHOSTNAME=\nA pretty human-readable UTF-8 machine identifier string. This should contain a name like\n\"Lennart's Laptop\" which is useful to present to the user and does not suffer by the\nsyntax limitations of internet domain names. If possible, the internet hostname as\nconfigured in /etc/hostname should be kept similar to this one. Example: if this value is\n\"Lennart's Computer\" an Internet hostname of \"lennarts-computer\" might be a good choice.\nIf this parameter is not set, an application should fall back to the Internet hostname\nfor presentation purposes.\n\nICONNAME=\nAn icon identifying this machine according to the XDG Icon Naming Specification[1]. If\nthis parameter is not set, an application should fall back to \"computer\" or a similar\nicon name.\n\nCHASSIS=\nThe chassis type. Currently, the following chassis types are defined: \"desktop\",\n\"laptop\", \"convertible\", \"server\", \"tablet\", \"handset\", \"watch\", and \"embedded\", as well\nas the special chassis types \"vm\" and \"container\" for virtualized systems that lack an\nimmediate physical chassis.\n\nNote that most systems allow detection of the chassis type automatically (based on\nfirmware information or suchlike). This setting should only be used to override a\nmisdetection or to manually configure the chassis type where automatic detection is not\navailable.\n\nDEPLOYMENT=\nDescribes the system deployment environment. One of the following is suggested:\n\"development\", \"integration\", \"staging\", \"production\".\n\nLOCATION=\nDescribes the system location if applicable and known. Takes a human-friendly, free-form\nstring. This may be as generic as \"Berlin, Germany\" or as specific as \"Left Rack, 2nd\nShelf\".\n",
                "subsections": []
            },
            "EXAMPLE": {
                "content": "PRETTYHOSTNAME=\"Lennart's Tablet\"\nICONNAME=computer-tablet\nCHASSIS=tablet\nDEPLOYMENT=production\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "systemd(1), os-release(5), hostname(5), machine-id(5), hostnamectl(1), systemd-\nhostnamed.service(8)\n",
                "subsections": []
            },
            "NOTES": {
                "content": "1. XDG Icon Naming Specification\nhttp://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html\n\n\n\nsystemd 249                                                                          MACHINE-INFO(5)",
                "subsections": []
            }
        }
    }
}