Skip to main content

hostname

(2016-11-21)

Problem

Setting the computer's hostname hasn't changed for the last 20 years or so. This is a boring state of affairs, we need some different, unintuitive way of setting it, ideally hopelessly integrated into systemd somehow.

Solution

# hostnamectl set-hostname $HOSTNAME