Skip to main content
vee
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

vee create

Create a new VM from a template.

vee create <name> [flags]

Flags

FlagDescription
--templateVM template to use (default: ubuntu-server)
--memoryRAM, e.g. 4G (default: template-specific)
--cpusNumber of vCPUs (default: template-specific)
--disk-sizeOS disk size, e.g. 40G
--distroLinux distro for templates that support it
--data-diskExtra raw disk in path:label format (repeatable)
--nvme-devPass an NVMe device through directly (passthrough template)
--ovmf-varsCustom OVMF_VARS.fd for UEFI
--gpu-pciGPU PCI address for passthrough, e.g. 08:00.0
--nic-modeNetworking mode: user or bridge
--virtiofs-dirHost directory to share into the VM

Examples

# Default Ubuntu 24.04 server
vee create myvm

# Developer VM with Docker
vee create dev --template devbox

# TrueNAS with data drives
vee create mynas --template truenas \
  --data-disk /dev/disk/by-id/ata-ST22000NM000C_ZXA0S3H6:EXOS22TB-A \
  --data-disk /dev/disk/by-id/ata-ST22000NM000C_ZXA0WD9J:EXOS22TB-B

# GPU passthrough booting from existing NVMe
vee create linux-gaming --template passthrough \
  --nvme-dev /dev/disk/by-id/nvme-... \
  --ovmf-vars /path/to/OVMF_VARS.fd \
  --gpu-pci 08:00.0