From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
Wolfgang Bumiller <w.bumiller@proxmox.com>
Subject: [pve-devel] applied: [PATCH container] enable systemd-networkd per preset in fedora 37+
Date: Fri, 18 Nov 2022 12:57:48 +0100 [thread overview]
Message-ID: <68537af0-6ecf-07d8-3d37-c42b6399b262@proxmox.com> (raw)
In-Reply-To: <20221118093642.46697-1-w.bumiller@proxmox.com>
Am 18/11/2022 um 10:36 schrieb Wolfgang Bumiller:
> While the template has systemd-networkd enabled, the lack of
> /etc/machine-id causes systemd to revert to its "preset",
> where now in
> /usr/lib/systemd/system-preset/90-default.preset
> fedora disables systemd-networkd in favor of NetworkManager.
>
> Without this patch, the first boot of a fresh fedora 37
> container would disable networking requiring a
> `systemctl enable systemd-networkd` from within the
> container once, after which it sticks around (until
> /etc/machine-id is deleted).
>
> This patch provides an
> `/etc/systemd/system-preset/00-pve.preset` file to keep
> systemd-networkd enabled via the `template_fixup` hook.
>
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
> src/PVE/LXC/Setup/Fedora.pm | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
>
applied, thanks!
prev parent reply other threads:[~2022-11-18 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 9:36 [pve-devel] " Wolfgang Bumiller
2022-11-18 11:57 ` 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=68537af0-6ecf-07d8-3d37-c42b6399b262@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=w.bumiller@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox