all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH container] setup: fedora: disable static units when fixing up template
@ 2026-07-08 10:10 wukaiyang2003
  0 siblings, 0 replies; only message in thread
From: wukaiyang2003 @ 2026-07-08 10:10 UTC (permalink / raw)
  To: pve-devel; +Cc: Kaiyang Wu

From: Kaiyang Wu <wukaiyang@loongfans.cn>

Fedora ships 'sys-mount-{config,debug}.mount' units as static units,
which would cause the units failing on startup.

Use the disable static units helper when fixing up templates to resolve
the issue, similar to how we process CentOS LXC templates.

Signed-off-by: Kaiyang Wu <wukaiyang@loongfans.cn>
---
 src/PVE/LXC/Setup/Fedora.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/LXC/Setup/Fedora.pm b/src/PVE/LXC/Setup/Fedora.pm
index cf383e3..91880dd 100644
--- a/src/PVE/LXC/Setup/Fedora.pm
+++ b/src/PVE/LXC/Setup/Fedora.pm
@@ -27,6 +27,8 @@ sub template_fixup {
     $self->ct_unlink('/etc/systemd/system/getty@.service');
 
     $self->remove_lxc_name_from_etc_hosts();
+
+    $self->setup_systemd_disable_static_units();
 }
 
 sub setup_init {
-- 
2.52.0




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

only message in thread, other threads:[~2026-07-08 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08 10:10 [PATCH container] setup: fedora: disable static units when fixing up template wukaiyang2003

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