mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-13 21:15:48 +02:00
qm-create: simplify example and add install media (#17547)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
parent
846bf39851
commit
ebebc46c38
1 changed files with 10 additions and 2 deletions
|
@ -3,13 +3,17 @@
|
|||
> Create or restore a virtual machine on QEMU/KVM Virtual Machine Manager.
|
||||
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
|
||||
|
||||
- Create a virtual machine:
|
||||
- Create a virtual machine with access to 512MiB of memory and 1 CPU core:
|
||||
|
||||
`qm {{[cr|create]}} {{100}}`
|
||||
|
||||
- Automatically start the machine after creation:
|
||||
|
||||
`qm {{[cr|create]}} {{100}} --start 1`
|
||||
`qm {{[cr|create]}} {{100}} --start`
|
||||
|
||||
- Give the virtual machine a name:
|
||||
|
||||
`qm {{[cr|create]}} {{100}} --name {{vm_name}}`
|
||||
|
||||
- Specify the type of operating system on the machine:
|
||||
|
||||
|
@ -23,6 +27,10 @@
|
|||
|
||||
`qm {{[cr|create]}} {{100}} --hookscript {{path/to/script.pl}}`
|
||||
|
||||
- Specify the install media:
|
||||
|
||||
`qm {{[cr|create]}} {{100}} --cdrom {{local:iso/install-media.iso}}`
|
||||
|
||||
- Create a VM that bridges itself to the host network:
|
||||
|
||||
`qm {{[cr|create]}} {{100}} --net{{0}} virtio,bridge=vmbr{{0}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue