all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH container] fix #7487: setup/suse: setup systemd-networkd if present
@ 2026-04-15  9:44 Filip Schauer
  0 siblings, 0 replies; only message in thread
From: Filip Schauer @ 2026-04-15  9:44 UTC (permalink / raw)
  To: pve-devel

Wicked is being phased out as the default network manager on SUSE. The
LXC template for openSUSE Leap 16 now uses systemd-networkd.

Detect if systemd-networkd is installed and configure it accordingly.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
---
 src/PVE/LXC/Setup/SUSE.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/PVE/LXC/Setup/SUSE.pm b/src/PVE/LXC/Setup/SUSE.pm
index f217f97..dfe1798 100644
--- a/src/PVE/LXC/Setup/SUSE.pm
+++ b/src/PVE/LXC/Setup/SUSE.pm
@@ -147,6 +147,9 @@ sub setup_network {
         # To keep user-defined routes in route-$iface we mark ours:
         $self->ct_modify_file($routefile, $routes, delete => 1, prepend => 1);
     }
+
+    $self->setup_systemd_networkd($conf)
+        if $self->ct_file_exists("/usr/lib/systemd/systemd-networkd");
 }
 
 1;
-- 
2.47.3





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-15  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-15  9:44 [PATCH container] fix #7487: setup/suse: setup systemd-networkd if present Filip Schauer

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