[Unit] Description=Set random hostname Before=systemd-logind.service [Service] Type=oneshot ExecStart=/bin/sh -c 'hostnamectl set-hostname "client-$(tr -dc a-z0-9