On CentOS7, changes to your hostname with the hostname
command won't persist upon reboot. Instead, use the following command
hostnamectl set-hostname my.host.com
On CentOS7, changes to your hostname with the hostname
command won't persist upon reboot. Instead, use the following command
hostnamectl set-hostname my.host.com