Skip to content

Commit ebebc46

Browse files
Managordmmqz
andauthored
qm-create: simplify example and add install media (#17547)
Co-authored-by: Dylan <[email protected]>
1 parent 846bf39 commit ebebc46

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pages/linux/qm-create.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
> Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager.
44
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
55
6-
- Create a virtual machine:
6+
- Create a virtual machine with access to 512MiB of memory and 1 CPU core:
77

88
`qm {{[cr|create]}} {{100}}`
99

1010
- Automatically start the machine after creation:
1111

12-
`qm {{[cr|create]}} {{100}} --start 1`
12+
`qm {{[cr|create]}} {{100}} --start`
13+
14+
- Give the virtual machine a name:
15+
16+
`qm {{[cr|create]}} {{100}} --name {{vm_name}}`
1317

1418
- Specify the type of operating system on the machine:
1519

@@ -23,6 +27,10 @@
2327

2428
`qm {{[cr|create]}} {{100}} --hookscript {{path/to/script.pl}}`
2529

30+
- Specify the install media:
31+
32+
`qm {{[cr|create]}} {{100}} --cdrom {{local:iso/install-media.iso}}`
33+
2634
- Create a VM that bridges itself to the host network:
2735

2836
`qm {{[cr|create]}} {{100}} --net{{0}} virtio,bridge=vmbr{{0}}`

0 commit comments

Comments
 (0)