[pve-devel] applied: [PATCH qemu-server] cloudinit: pass through hostname via fqdn field
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jun 7 19:33:37 CEST 2023
Am 23/05/2023 um 09:14 schrieb Leo Nunner:
> If no FQDN is provided, we simply set it to the current hostname. This
> ensures that the hostname *really* gets set, since we encountered an
> issue on Fedora and CentOS based systems where no hostname got set at
> all.
>
> When there's no FQDN set in the cloudinit config, this leads to the
> following entry:
>
> 127.0.1.1 <hostname> <hostname>
>
> Which doesn't seem to cause any issues.
>
> Tested on:
> - Ubuntu 23.04
> - CentOS 8
> - Fedora 38
> - Debian 11
> - SUSE 15.4
>
> Signed-off-by: Leo Nunner <l.nunner at proxmox.com>
> ---
> PVE/QemuServer/Cloudinit.pm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list