mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 23:56:58 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,13 +8,17 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> 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:
|
||||
|
||||
@@ -28,6 +32,10 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
Reference in New Issue
Block a user