feat(oci): VLAN tag and updates that keep Proxmox changes

This commit is contained in:
MacRimi
2026-10-31 18:34:14 +01:00
parent b1010a194a
commit 276a116696
47 changed files with 672 additions and 125 deletions
+6
View File
@@ -65,6 +65,12 @@ def check(config):
raise ValueError(translate('A container mount has a source, backup or permission different from the saved record'))
def stale(config):
"""Whether a mount point taken away left its lines behind."""
wanted = {line for group in groups(config) for line in group}
return any(own(line) and line not in wanted for line in config.decode().splitlines())
def follow(vmid):
"""Write the lines of the mount points the container has now, and no
others. Any snapshot section is left as it is."""