Re: Changing the hostname

2024-08-19 Thread Keith Smith via PLUG-discuss
I am changing the hostname on Ubuntu 24.04LTS server. I do the following: Change the hostname using sudo vi /etc/hostname Change the hostname using sudo vi /etc/hosts Restart : sudo systemctl restart systemd-hostnamed Verify with : hostnamectl which returns the new hostname However when I issu

Re: Changing the hostname

2024-08-19 Thread greg zegan via PLUG-discuss
wrote: > Hi, > > I am changing the hostname on Ubuntu 24.04LTS server. > > I do the following: > > Change the hostname using sudo vi /etc/hostname > Change the hostname using sudo vi /etc/hosts > Restart : sudo systemctl restart systemd-hostnamed > Verify with : hos

Re: Changing the hostname

2024-08-19 Thread Keith Smith via PLUG-discuss
Solution : hostnamectl set-hostname --transient It appears there is a thing called transient hostname. On 2024-08-19 09:10, Keith Smith via PLUG-discuss wrote: Hi, I am changing the hostname on Ubuntu 24.04LTS server. I do the following: Change the hostname using sudo vi /etc/hostname

Changing the hostname

2024-08-19 Thread Keith Smith via PLUG-discuss
Hi, I am changing the hostname on Ubuntu 24.04LTS server. I do the following: Change the hostname using sudo vi /etc/hostname Change the hostname using sudo vi /etc/hosts Restart : sudo systemctl restart systemd-hostnamed Verify with : hostnamectl which returns the new hostname However when I