How do you change Hostname?

How do you change hostname in yunohost? i just set up like 3 more server nodes a long side my original server… the router’s subnet carries the domain name… and i had originally named the server the domain name. so now i have to change it to something random.

i’m aware of the hostname command, however that doesn’t seem to stick or be reliable at all… someone said there was a way to do it with yunohost’s own software. so, here’s asking!

how can i change the hostname?

found it: a friend told me its “hostnamectl set-hostname [new_hostname]” and then changes /etc/hosts and all that to reflect accordingly… and then reboot

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.