domainname as in NIS? no idea.

domainname as in fqdn hostname?

echo $fqdn > /etc/hostname
echo 127.0.0.1 $fqdn localhost > /etc/hosts

works for me, and I hasn't been changed in years. Not sure if systemd will
change something about this though.

Andreas

Am Mi., 3. Juli 2019 um 21:17 Uhr schrieb Gene Heskett <ghesk...@shentel.net
>:

> How do I set the domainname so it sticks over a reboot?
>
> Thanks a bunch.
>
> 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 via email to