On Wed, Feb 24, 2021 at 06:14:00AM -0500, Gene Heskett wrote: > On Wednesday 24 February 2021 03:32:04 tomas@tuxteam.de wrote: > > > On Tue, Feb 23, 2021 at 08:21:48PM -0500, Gene Heskett wrote: > > > On Tuesday 23 February 2021 19:22:19 James B wrote: > > > > With systemd-based Debian, the probably now best way to set a > > > > hostname is with: > > > > > > > > hostnamectl set-hostname NAME > > > > > > > > What Tom suggested is completely valid, but hostnamectl should I > > > > understand be the preferred route [...] > > > > ...if you restrict yourself to the systemd world [0], that is. > > > > > Does this also have a set-domainname option? This also is > > > disappearing on a reboot. Not ack the man page so I assume there is > > > a different method to handle that? > > > > Gene, please read the hostname(1) man page. [...] > I could spend the rest of my life changing it with variant 1, but when > its been powered down overnight, the old name is restored in the morning > boot. Now I've tried hostnamectl with its option set-hostname newname. > And I'm going to power it up right now, brb. Uh... sorry, you're right. You've got to change /etc/hostname for that. By whatever means explained in this thread. Tomas, please read posts more carefully :-) Apologies - t
Attachment:
signature.asc
Description: Digital signature