]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname: allow to override hardware vendor and model
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 22 Jan 2022 01:44:50 +0000 (10:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 23 Jan 2022 03:48:00 +0000 (12:48 +0900)
commit4fc7e4f374bf4401330e90e267227267abf1dcac
treed096d9f21cd80674afd9b946823f9baa4365555c
parent8c8b1800e90d4307397300ef32b0f6d95efad057
hostname: allow to override hardware vendor and model

Sometimes hardware vendor does not set DMI info correctly.
Already there is a way that the dbus properties can be overriden by
using hwdb. But that is not user friendly.

This adds two new fields in /etc/machine-info.

Closes #22207.
man/machine-info.xml
src/hostname/hostnamed.c