Proxmox Cheat SheetΒΆ
How to create VMs with qm commands with a quickness!
Create a multi-homed VM without a hard drive:
qm create 114 --name my-amazing-vm --memory 4096 --cores 2 --cpu host --net0 virtio,bridge=vmbr1 --net1 virtio,bridge=vmbr1 --net2 virtio,bridge=vmbr1 --net3 virtio,bridge=vmbr1 --net4 virtio,bridge=vmbr1 --net5 virtio,bridge=vmbr1 --net6 virtio,bridge=vmbr1 --net7 virtio,bridge=vmbr1 --scsihw virtio-scsi-pci
Import a QCOW2 disk image to the local filesystem in RAW format:
Specify the controller associted with the disk image previously imported:
Set boot order to prefer the SCSI controller: