From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH container] setup: fedora: fix wrong systemd-networkd preset
Date: Fri, 23 Jun 2023 19:19:37 +0200 [thread overview]
Message-ID: <20230623171937.2374994-1-s.ivanov@proxmox.com> (raw)
The refactoring of the systemd-preset handling inadvertendly changed
the preset for Fedora >= 37 to disabled
Reported in our community forum:
https://forum.proxmox.com/threads/.129395/
Tested with a Fedora 38 container on PVE 8.0
Fixes: e11806e0de064e6570d40e7c04bc4656687b2c62
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
src/PVE/LXC/Setup/Fedora.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Setup/Fedora.pm b/src/PVE/LXC/Setup/Fedora.pm
index 80ee85f..1a487c6 100644
--- a/src/PVE/LXC/Setup/Fedora.pm
+++ b/src/PVE/LXC/Setup/Fedora.pm
@@ -39,7 +39,7 @@ sub setup_init {
$self->setup_systemd_preset({
# systemd-networkd is disabled by the preset in >=37 in favor of
# NetworkManager, reenable it, since we make use of it.
- 'systemd-networkd.service' => 0,
+ 'systemd-networkd.service' => 1,
});
}
}
--
2.30.2
next reply other threads:[~2023-06-23 17:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 17:19 Stoiko Ivanov [this message]
2023-06-24 15:24 ` [pve-devel] applied: " Thomas Lamprecht
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=20230623171937.2374994-1-s.ivanov@proxmox.com \
--to=s.ivanov@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox