pve_create_vm
Create a new virtual machine on Proxmox VE by specifying node, VM ID, and configuration parameters like memory, CPU, storage, and OS type.
Instructions
Create a new virtual machine
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node name | |
| vmid | Yes | VM ID | |
| name | No | VM name | |
| memory | No | Memory in MB | |
| cores | No | CPU cores | |
| sockets | No | CPU sockets | |
| cpu | No | CPU type | |
| ostype | No | OS type | |
| scsihw | No | SCSI hardware type | |
| bios | No | BIOS type | |
| boot | No | Boot order | |
| cdrom | No | CD-ROM (ISO path) | |
| ide0 | No | IDE disk 0 | |
| ide1 | No | IDE disk 1 | |
| ide2 | No | IDE disk 2 | |
| ide3 | No | IDE disk 3 | |
| scsi0 | No | SCSI disk 0 | |
| virtio0 | No | VirtIO disk 0 | |
| net0 | No | Network device 0 | |
| serial0 | No | Serial port 0 | |
| agent | No | QEMU guest agent (1 to enable) | |
| start | No | Start after creation | |
| pool | No | Resource pool | |
| storage | No | Default storage | |
| description | No | VM description | |
| onboot | No | Start on boot | |
| startup | No | Startup order | |
| protection | No | Protection from deletion | |
| tags | No | Tags (semicolon-separated) |