MACHINE−INFO - Online Linux Manual PageSection : 5
Updated :
Source : systemd 253
Note : machine-info

NAMEmachine-info − Local machine information file

SYNOPSIS/etc/machine−info

DESCRIPTIONThe /etc/machine−info file contains machine metadata​. The format of machine−info is a newline−separated list of environment−like shell−compatible variable assignments, ignoring comments and empty lines​. It is possible to source the configuration from shell scripts, however, beyond mere variable assignments no shell features are supported, allowing applications to read the file without implementing a shell compatible execution engine​. See os-release(5) for a detailed description of the format​. /etc/machine−info contains metadata about the machine that is set by the user or administrator​. The settings configured here have the highest precedence​. When not set, appropriate values may be determined automatically, based on the information about the hardware or other configuration files​. It is thus completely fine for this file to not be present​. You may use hostnamectl(1) to change the settings of this file from the command line​.

OPTIONSThe following machine metadata parameters may be set using /etc/machine−info: PRETTY_HOSTNAME= A pretty 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 hostname as configured in /etc/hostname should be kept similar to this one​. Example: if this value is "Lennart's Computer" an Internet hostname of "lennarts−computer" might be a good choice​. If this parameter is not set, an application should fall back to the Internet hostname for presentation purposes​. ICON_NAME= An icon identifying this machine according to the XDG Icon Naming Specification[1]​. If 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", "convertible", "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 most systems allow detection of the chassis type automatically (based on firmware information or suchlike)​. This setting should only be used to override a misdetection 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"​. HARDWARE_VENDOR= Specifies the hardware vendor​. If unspecified, the hardware vendor set in DMI or hwdb(7) will be used​. HARDWARE_MODEL= Specifies the hardware model​. If unspecified, the hardware model set in DMI or hwdb(7) will be used​.

EXAMPLEPRETTY_HOSTNAME="Lennart's Tablet" ICON_NAME=computer−tablet CHASSIS=tablet DEPLOYMENT=production

SEE ALSOsystemd(1), os-release(5), hostname(5), machine-id(5), hostnamectl(1), systemd-hostnamed.service(8)

NOTES 1. XDG Icon Naming Specification ­https://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
0
Johanes Gumabo
Data Size   :   12,238 byte
man-machine-info.5Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 171,239
Visitor ID   :     :  
Visitor IP   :   18.118.128.17   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.