sunhat/sources/hostname.sh

4 lines
86 B
Bash

source ~/.local/share/sunhat/sources/env.sh
sudo hostnamectl set-hostname $HOST_NAME