Parent: e515f4b6e25c971c47ab79e9cbdfa17119bbde23
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2022-11-16 23:55:10
Tree: 0c767817aaccd89be71411d7e94db70bfa5cd5c3
hostname: Fallback to transient hostname After pretty hostname, and static hostname, also support transient hostname as a last resort before 'BlueZ X.XX'. This happens on Fedora's Workstation installation as it calls "hostnamectl set-hostname" on startup. In Fedora Silverblue, the default hostname is set as fedora in /etc/os-release. In both cases, we should fall back to that transient hostname, as bad as it could be. Note that the transient hostname needs to be monitored through the kernel directly, as explained in: https://www.freedesktop.org/software/systemd/man/org.freedesktop.hostname1.html
Diffstat
| M | plugins/hostname.c | | | 57 | ++++++++++++++++++++++++++++++++++++++++- - |
1 files changed, 55 insertions(+), 2 deletions(-)