fix(oci): a shared host directory shows what the host has mounted inside it

This commit is contained in:
MacRimi
2026-10-10 20:52:52 +02:00
parent a1bac7aeec
commit 155cafcb73
12 changed files with 269 additions and 8 deletions
+2
View File
@@ -190,6 +190,8 @@ oci_apply_extra_mounts() {
count=$((count + 1))
done < <(jq -r '.extra_mounts[]? | [.type, .container_path, .source, (.size_gb // "-"), (.read_only // false)] | @tsv' "$DEPLOYMENT_FILE")
if (( count > 0 )); then
python3 "${SCRIPT_DIR}/oci_nested_mounts.py" follow "$vmid" \
|| die "$(translate "Could not add the mount point:") CT $vmid"
msg_ok "$(translate "Mount points added:") $count"
fi
return 0