How to assign a Host-name ? Just type hostname and a tab , it will return the options which are present like below. it needs to be carried out with ROOT user only. hostnamectl set-hostname <..> Eg., hostnamectl set-hostname name hostnamectl status