pve: add functions with shared helpers for cluster scripts
Provides pvesh_cmd (uses ssh -n to avoid stdin consumption inside
while-read loops), get_cluster_resources with caching, resolve_vmid
that sets RES_TYPE/NODE/STATUS/NAME/POOL, and vm_cmd/vm_mgr helpers.
Co-Authored-By:
Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Showing
pve/functions
0 → 100644
Please
register
or
sign in
to comment