machine-info
Local machine information file
- Provided by: systemd (Version: 204-5ubuntu20.31)
- Report a bug
Local machine information file
/etc/machine-info
The /etc/machine-info file contains machine meta data.
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 meta data 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 meta data parameters may be set using /etc/machine-info:
PRETTY_HOSTNAME=
ICON_NAME=
CHASSIS=
PRETTY_HOSTNAME="Lennart's Tablet" ICON_NAME=computer-tablet CHASSIS=tablet
systemd(1), os-release(5), hostname(5), machine-id(5), hostnamectl(1), systemd-hostnamed.service(8)