vm_exec_sync
Execute a shell command inside a Proxmox VM and retrieve the output directly. Supports complex commands with pipes and redirections.
Instructions
Exécute une commande shell dans une VM et retourne le résultat directement. Supporte les commandes complexes avec arguments, pipes, etc. Nécessite SSH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Nom du nœud Proxmox | |
| vmid | Yes | ID de la VM | |
| command | Yes | Commande shell à exécuter (supporte pipes, redirections, etc.) | |
| timeout | No | Timeout en secondes (défaut: 30) |