- bullseye 247.3-7+deb11u1
- bullseye-backports 252.5-2~bpo11+1
- testing 252.6-1
- unstable 252.6-1
- experimental 253-1
machine-info - Local machine information file
The /etc/machine-info file contains machine metadata.
The basic file format of machine-info is a newline-separated list of environment-like shell-compatible variable assignments. 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.
/etc/machine-info contains 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 hostnamectl(1) to change the settings of this file from the command line.
The following machine metadata parameters may be set using /etc/machine-info:
PRETTY_HOSTNAME="Lennart's Tablet" ICON_NAME=computer-tablet CHASSIS=tablet DEPLOYMENT=production
systemd(1), os-release(5), hostname(5), machine-id(5), hostnamectl(1), systemd-hostnamed.service(8)
- XDG Icon Naming Specification