fix(oci): start OCI containers on any node of a cluster

This commit is contained in:
MacRimi
2026-09-28 19:06:07 +02:00
parent 297c026c95
commit 79547dec35
11 changed files with 159 additions and 49 deletions
+2 -1
View File
@@ -742,7 +742,8 @@ def _lxc_shares_host_network(vmid):
text = handle.read().split("\n[", 1)[0]
except (OSError, ValueError):
return False
return ("lxc.include: /etc/pve/lxc/proxmenux-host-monitor" in text
return ("lxc.include: /etc/pve/proxmenux/host-monitor" in text
or "lxc.include: /etc/pve/lxc/proxmenux-host-monitor" in text
or ("lxc.net.0.type: none" in text and not re.search(r"^net\d+:", text, re.M)))