← 返回命令列表

Linux command

qm-create 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

qm create 100

Example

qm create 100 --name vm_name --start

Example

qm create 100 --memory 8192 --cores 4

Example

qm create 100 --ostype win10

Replace

qm create 100 --archive path/to/backup.tar --force 1

Example

qm create 100 --cdrom local:iso/install.iso

Example

qm create 100 --net0 virtio,bridge=vmbr0

说明

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.

参数

--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

FAQ

What is the qm-create command used for?

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.

How do I run a basic qm-create example?

Run `qm create 100` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --name _name_ do in qm-create?

Set VM name