qm create
Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager. More information: https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_create.
- Create a virtual machine with access to 512MiB of memory and 1 CPU core:
qm
- Give the virtual machine a name and automatically start the machine after creation:
qm --name --start
- Give a virtual machine specified amount of memory and CPUs:
qm --memory --cores
- Specify the type of operating system on the machine:
qm --ostype
- Replace an existing machine (requires archiving it):
qm --archive --force 1
- Specify a script that is executed automatically depending on the state of the virtual machine:
qm --hookscript
- Specify the install media:
qm --cdrom
- Create a VM that bridges itself to the host network:
qm --net virtio,bridge=vmbr
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
