Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

hostname keeps changing after reboot

so my transient hostname keeps changing after almost every reboot despite having correct hostname in.

$ /etc/hosts

$ /etc/hostname

I have to enter the $ hostnamectl set-hostname localhost every time i log in.

is there anyway i can set my hostname permanently?