[systemd-devel] How do you set the machine's domain name with systemd?

"Jóhann B. Guðmundsson" johannbg at gmail.com
Tue Feb 12 13:32:43 PST 2013


On 02/12/2013 07:42 PM, Adam Nielsen wrote:
>> Use hostnamectl, assuming your systemd version is new enough:
>>
>> http://www.freedesktop.org/software/systemd/man/hostnamectl.html
>
> Thanks for the suggestion, but unfortunately this doesn't seem to work:
>
> $ hostnamectl set-hostname korath.my.domain.com
>
> $ cat /etc/hostname
> korathmydomaincom

Known and annoying bug...

JBG



More information about the systemd-devel mailing list