[pve-devel] [PATCH pve-container 1/2] Setup::ArchLinux: put fqdn in /etc/hostname
Dietmar Maurer
dietmar at proxmox.com
Mon Nov 30 10:06:10 CET 2015
> SystemD, not ArchLinux.
Debian also use systemd, Redhat >= 7 also ...
> Supposedly the way to change the hostname on
> SystemD based systems is to run: `hostnamectl set-hostname TheNewName`
> with the FQDN, and this also writes the complete fqdn into /etc/hostname.
>From 'man hostname'
> You cannot change the FQDN with hostname or dnsdomainname.
> The recommended method of setting the FQDN is to make the hostname
> be an alias for the fully qualified name
> using /etc/hosts
So I do not think /etc/hostname should contain a domain.
Also, 'man hostnamectl' does not even mention domain names??
More information about the pve-devel
mailing list