[leafnode-list] Re: FQDN and systemd
Doug Laidlaw
laidlaws at hotkey.net.au
Mon Dec 15 07:15:12 CET 2014
On Sun, 14 Dec 2014 23:36:43 +0100
Matěj Cepl <mcepl at cepl.eu> wrote:
> Apparently everything has to change in the world of systemd, but
> this I have give its authors at least they provide
> well-documented nice tools. So in the brave new world of
> systemd, you are not supposed to edit and exactly write down
> values in /etc/hostname (or /etc/sysconfig/network or somewhere
> else), but rather to use hostnamectl(1).
>
> Apparently
> https://docs.fedoraproject.org/en-US/Fedora/18/html/System_Administrators_Guide/s2_Set_All_the_Hostnames.html
> just plain
>
> # hostnamectl set-hostname name
>
> is what’s required.
>
> I just thought it might be helpful to add this to
> README-FQDN.tex.
>
> Best,
>
> Matěj
>
Thanks for the tip. I am running Mageia, which is a fork of a fork of
RH. I always set up my FQDN during installation of the OS, but once I
had to do it manually, by editing /etc/sysconfig/network.
Doug.
More information about the leafnode-list
mailing list