shutdown_container
Gracefully shut down an LXC container on a Proxmox node. Specify the node and container ID; optionally set a timeout in seconds for forced shutdown if graceful fails.
Instructions
Gracefully shutdown an LXC container. Requires PROXMOX_RISK_LEVEL=lifecycle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name where the container resides. | |
| vmid | Yes | LXC container numeric ID. | |
| timeout | No | Seconds to wait for graceful shutdown before force-stop. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |