refactor: move config_path from root into install_methods

Migrated all 80 app JSON files to place config_path inside each
install_methods object instead of at the root level. This allows
different install methods (e.g. Debian vs Alpine) to have distinct
config paths.

Also updated AGENTS.md JSON structure example to reflect the change.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-14 14:51:01 +02:00
parent 935f9d9d3d
commit 36a4635772
81 changed files with 2621 additions and 2611 deletions

View File

@@ -1,52 +1,52 @@
{
"name": "PVE Startup Dependency Check",
"slug": "dependency-check",
"categories": [
1
],
"date_created": "2025-08-12",
"type": "pve",
"updateable": false,
"privileged": false,
"interface_port": null,
"documentation": null,
"website": null,
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/proxmox.webp",
"config_path": "/etc/default/pve-auto-hook",
"description": "This script checks for the presence of required dependencies before starting a VM or LXC container in Proxmox. It ensures that all referenced storages are available and, additionally, supports the usage of tags to check for specific dependencies. If any required dependency is missing, the VM or container will not start until the issue is resolved. This script is designed to be used as a Proxmox hookscript, which can be applied to both QEMU VMs and LXC containers.",
"install_methods": [
{
"type": "default",
"script": "tools/pve/dependency-check.sh",
"resources": {
"cpu": null,
"ram": null,
"hdd": null,
"os": null,
"version": "PVE 8.x / 9.x"
}
}
],
"default_credentials": {
"username": null,
"password": null
"name": "PVE Startup Dependency Check",
"slug": "dependency-check",
"categories": [
1
],
"date_created": "2025-08-12",
"type": "pve",
"updateable": false,
"privileged": false,
"interface_port": null,
"documentation": null,
"website": null,
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/proxmox.webp",
"description": "This script checks for the presence of required dependencies before starting a VM or LXC container in Proxmox. It ensures that all referenced storages are available and, additionally, supports the usage of tags to check for specific dependencies. If any required dependency is missing, the VM or container will not start until the issue is resolved. This script is designed to be used as a Proxmox hookscript, which can be applied to both QEMU VMs and LXC containers.",
"install_methods": [
{
"type": "default",
"script": "tools/pve/dependency-check.sh",
"config_path": "/etc/default/pve-auto-hook",
"resources": {
"cpu": null,
"ram": null,
"hdd": null,
"os": null,
"version": "PVE 8.x / 9.x"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "Execute within the Proxmox shell",
"type": "info"
},
"notes": [
{
"text": "Execute within the Proxmox shell",
"type": "info"
},
{
"text": "The script supports --install (default), --status and --uninstall for clean lifecycle management.",
"type": "info"
},
{
"text": "To wait until a certain host is available, tag the VM or container with `dep_ping_<hostname>` where `<hostname>` is the name or IP of the host to ping. The script will wait until the host is reachable before proceeding with the startup.",
"type": "info"
},
{
"text": "To wait until a certain TCP port is open, tag the VM or container with `dep_tcp_<hostname>_<port>` where `<hostname>` is the name or IP of the host and `<port>` is the TCP port number. The script will wait until the port is open before proceeding with the startup.",
"type": "info"
}
]
}
{
"text": "The script supports --install (default), --status and --uninstall for clean lifecycle management.",
"type": "info"
},
{
"text": "To wait until a certain host is available, tag the VM or container with `dep_ping_<hostname>` where `<hostname>` is the name or IP of the host to ping. The script will wait until the host is reachable before proceeding with the startup.",
"type": "info"
},
{
"text": "To wait until a certain TCP port is open, tag the VM or container with `dep_tcp_<hostname>_<port>` where `<hostname>` is the name or IP of the host and `<port>` is the TCP port number. The script will wait until the port is open before proceeding with the startup.",
"type": "info"
}
]
}