X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fmachine-info.xml;h=4dd3741c8aab1d44938784f64058d853670c13b7;hp=240da25a6b9b9abb1dab86b66c1e8cab1121195b;hb=e45fc5e738b0b7700e8b4f3c4b25c58a49b44b27;hpb=19c5f19d69bb5f520fa7213239490c55de06d99d;ds=sidebyside diff --git a/man/machine-info.xml b/man/machine-info.xml index 240da25a6..4dd3741c8 100644 --- a/man/machine-info.xml +++ b/man/machine-info.xml @@ -9,16 +9,16 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> @@ -55,7 +55,7 @@ Description The /etc/machine-info file - contains machine meta data. + contains machine metadata. The basic file format of machine-info is a @@ -68,18 +68,23 @@ execution engine. /etc/machine-info contains - meta data about the machine that is set by the user or + metadata about the machine that is set by the user or administrator. Depending on the operating system other configuration files might be checked for machine information as well, however only as fallback. + + You may use + hostnamectl1 + to change the settings of this file from the command + line. Options - The following machine meta data parameters may + The following machine metadata parameters may be set using /etc/machine-info: @@ -89,22 +94,22 @@ PRETTY_HOSTNAME= A pretty - human-readable UTF8 machine identifier + human-readable UTF-8 machine identifier string. This should contain a name like Lennart's Laptop which is useful to present to the user and does not suffer by the syntax limitations of - internet domain names. If possible the - internet host name as configured in + internet domain names. If possible, the + internet hostname as configured in /etc/hostname should be kept similar to this one. Example: if this value is Lennart's Computer - an Internet host name of + an Internet hostname of lennarts-computer might be a good choice. If this - parameter is not set an application + parameter is not set, an application should fall back to the Internet host name for presentation purposes. @@ -117,21 +122,77 @@ this machine according to the XDG Icon Naming Specification. If - this parameter is not set an + this parameter is not set, an application should fall back to computer or a similar icon name. - + + CHASSIS= + + The chassis + type. Currently, the following chassis + types are defined: + desktop, + laptop, + server, + tablet, + handset, + watch, and + embedded as well as + the special chassis types + vm and + container for + virtualized systems that lack an + immediate physical chassis. Note that + many systems allow detection of the + chassis type automatically (based on + firmware information or + suchlike). This setting (if set) shall + take precedence over automatically + detected information and is useful to + override misdetected configuration or + to manually configure the chassis type + where automatic detection is not + available. + + + + DEPLOYMENT= + + Describes the system + deployment environment. One of the + following is suggested: + development, + integration, + staging, + production. + + + + LOCATION= + + Describes the system + location if applicable and + known. Takes a human-friendly, + free-form string. This may be as + generic as Berlin, + Germany or as specific as + Left Rack, 2nd + Shelf. + + Example - PRETTY_HOSTNAME="Lennart's Computer" -ICON_NAME=computer-laptop + PRETTY_HOSTNAME="Lennart's Tablet" +ICON_NAME=computer-tablet +CHASSIS=tablet +DEPLOYMENT=production @@ -140,7 +201,9 @@ ICON_NAME=computer-laptop systemd1, os-release5, hostname5, - machine-id5 + machine-id5, + hostnamectl1, + systemd-hostnamed.service8