[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Got a machine name problem



On Tue, Feb 23, 2021 at 12:58:33PM -0500, Gene Heskett wrote:
> Greetings all;
> 
> I have been working on a lower priority project, replacing some atom 
> powered machines with i5 powered Dells. Installing buster but something 
> is overriding my efforts to rename the machine after the install because 
> I'd like to replace "lathe" with "TLM" for The Little Monster.
> 
> Nothing I do survives a reboot, so what do I do to actually rename the 
> machine and make it stick? Hopefully without losiing the networking 
> which I don't have after the last reboot, probably because of the 
> current volatility of interface names.
> 

hostnamectl should do it - and it will be permanent

hostnamectl set-hostname [whatever_you_want_goes_here]

All best, 

Andy C.

> Thanks.
> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page <http://geneslinuxbox.net:6309/gene>
> 


Reply to: