Am I missing something or should hostnamectl not have a --user mode similar to systemctl? (It doesn’t currently.)
@aral no, because a system's hostname is global.
@eliasp But it could still give you information about it without allowing you to change it. systemctl --user list-machines does, for example.
That said, still not sure if that’d just be more confusing or more consistent…
@eliasp And, actually no, so systemctl --user list-machines is giving me the hostname of my container, not the host. And yet, I see no way of changing that. Hmm…