LinuxCommandLibrary

qm-create

Create a Proxmox virtual machine

TLDR

Create a VM with default settings (512MiB memory, 1 CPU)

$ qm create 100
copy
Create with name and start automatically
$ qm create 100 --name vm_name --start
copy
Create with specific memory and CPUs
$ qm create 100 --memory 8192 --cores 4
copy
Specify the OS type
$ qm create 100 --ostype win10
copy
Replace an existing machine from archive
$ qm create 100 --archive path/to/backup.tar --force 1
copy
Specify install media
$ qm create 100 --cdrom local:iso/install.iso
copy
Create with network bridge
$ qm create 100 --net0 virtio,bridge=vmbr0
copy

SYNOPSIS

qm create vmid [options]

DESCRIPTION

qm create creates or restores a virtual machine on QEMU/KVM in Proxmox VE. It supports extensive configuration options for CPU, memory, storage, and networking.
VMs can be created from scratch or restored from backup archives.

PARAMETERS

--name name

Set VM name
--memory mb
RAM size in megabytes
--cores count
Number of CPU cores
--ostype type
Operating system type (l24, l26, win10, etc.)
--cdrom volume
ISO image for installation
--net0 config
Network adapter configuration
--start
Start VM after creation
--archive file
Restore from backup archive
--force 1|0
Force overwrite existing VM

CAVEATS

VM IDs must be unique across the cluster. Some options require additional storage or network configuration.

HISTORY

Part of Proxmox VE QEMU/KVM management tools for virtual machine administration.

SEE ALSO

qm(1), qm-clone(1), qm-destroy(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community