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
  2026-04-23  8:04 ` applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages 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 related	[flat|nested] 2+ messages in thread

* applied: [PATCH container] fix #7487: setup/suse: setup systemd-networkd if present
  2026-04-15  9:44 [PATCH container] fix #7487: setup/suse: setup systemd-networkd if present Filip Schauer
@ 2026-04-23  8:04 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-04-23  8:04 UTC (permalink / raw)
  To: pve-devel, Filip Schauer

On Wed, 15 Apr 2026 11:44:45 +0200, Filip Schauer wrote:
> 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.

Applied, thanks!

[1/1] fix #7487: setup/suse: setup systemd-networkd if present
      commit: c0dd66797dbd572513c10caa5eda31960d65a88c




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-23  8:04 UTC | newest]

Thread overview: 2+ messages (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
2026-04-23  8:04 ` applied: " Thomas Lamprecht

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