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 as I believe it will update > everything necessary automatically.Doing it this way will also be a > persistent change. > > James
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? Thanks James. 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>