qemu-server/PVE
Leo Nunner 3e546c5ada cloudinit: pass through hostname via fqdn field
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@proxmox.com>
2023-06-07 19:33:28 +02:00
..
API2 fix #2315: api: have resize endpoint spawn a worker task 2023-06-07 19:23:52 +02:00
CLI qmrestore: improve description of bwlimit parameter 2023-06-06 17:56:34 +02:00
QemuServer cloudinit: pass through hostname via fqdn field 2023-06-07 19:33:28 +02:00
VZDump backup: prepare: improve error messages 2023-03-27 11:38:43 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm fix #4201: delete cloud-init disk on rollback 2022-11-11 19:26:16 +01:00
QemuMigrate.pm close #2792: allow online migration with replicated snapshots 2023-01-27 09:53:28 +01:00
QemuServer.pm fast plug options: add migrate_downtime and migrate_speed 2023-06-07 18:37:51 +02:00
QMPClient.pm tree-wide: switch to official spelling of QEMU in descriptions/messages 2022-12-20 10:26:41 +01:00