Change ‘Hostname’ of CentOS 7

hostnamectl set-hostname host.domain