From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Leo Nunner <l.nunner@proxmox.com>
Subject: [pve-devel] applied: [PATCH qemu-server] cloudinit: pass through hostname via fqdn field
Date: Wed, 7 Jun 2023 19:33:37 +0200 [thread overview]
Message-ID: <c5cb1953-bf3c-04c4-537b-9f9af2698c4e@proxmox.com> (raw)
In-Reply-To: <20230523071419.46528-1-l.nunner@proxmox.com>
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@proxmox.com>
> ---
> PVE/QemuServer/Cloudinit.pm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>
applied, thanks!
prev parent reply other threads:[~2023-06-07 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-23 7:14 [pve-devel] " Leo Nunner
2023-06-07 17:33 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5cb1953-bf3c-04c4-537b-9f9af2698c4e@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=l.nunner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal