]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostnamectl: add a chassis symbol in status output
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Dec 2021 11:25:10 +0000 (12:25 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 14 Dec 2021 16:49:26 +0000 (16:49 +0000)
commit285a6908eb08f32b51e5ca9eae8a9317179d33c4
tree1232e149de65a6dfe0a195a5f4c4a0dd1d0c6027
parent020d41ce4f1dc21390db3d50148fb0c649f6c72d
hostnamectl: add a chassis symbol in status output

The idea is to be able to distinguish whether we're in a VM/container or something
more substantial at a glance.
         Chassis: laptop 💻
         Chassis: tablet 具
         Chassis: vm 🖴
         Chassis: server 🖳
         Chassis: handset 🕻
         Chassis: watch ⌚
         Chassis: desktop 🖥
         Chassis: container ☐
src/hostname/hostnamectl.c