feat(oci): Recreate for multi-container apps and CPU/memory in every advanced install

This commit is contained in:
MacRimi
2026-10-01 19:39:01 +02:00
parent d137bb3d31
commit a4cb9936a5
29 changed files with 1405 additions and 110 deletions
+1 -3
View File
@@ -6,7 +6,6 @@ the same profile.
"""
from pathlib import Path
import hashlib
import re
import oci_console
import oci_nvidia_runtime as nv
@@ -15,8 +14,7 @@ from oci_ui import translate
def console_start_hook(value):
"""The hook ProxMenux adds to mark each start in the console log."""
vmid = re.search(r' (\d+); exit 0\'$', value)
return bool(vmid) and oci_console.start_mark_hook(int(vmid[1])) == f'lxc.hook.pre-start: {value}'
return oci_console.is_start_mark_hook(f'lxc.hook.pre-start: {value}')
def gpu_identity(inventory):