proxmox_create_lxc
Create a new LXC container on a Proxmox node by specifying the node, template ID, hostname, and optional resources such as memory, storage, and network settings.
Instructions
Create a new LXC container (requires elevated permissions)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name where container will be created | |
| vmid | Yes | Container ID number (must be unique, or use proxmox_get_next_vmid) | |
| ostemplate | Yes | OS template (e.g., local:vztmpl/debian-12-standard_12.2-1_amd64.tar.gz) | |
| hostname | No | Container hostname | |
| password | No | Root password (minimum 5 characters) | |
| memory | No | RAM in MB | |
| storage | No | Storage location | local-lvm |
| rootfs | No | Root filesystem size in GB | 8 |
| net0 | No | Network interface config (e.g., name=eth0,bridge=vmbr0,ip=dhcp) |