Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

29
linux/qm-create Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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>.
- Create a virtual machine:
`qm create {{100}}`
- Automatically start the machine after creation:
`qm create {{100}} --start 1`
- Specify the type of operating system on the machine:
`qm create {{100}} --ostype {{win10}}`
- Replace an existing machine (requires archiving it):
`qm create {{100}} --archive {{path/to/backup_file.tar}} --force 1`
- Specify a script that is executed automatically depending on the state of the virtual machine:
`qm create {{100}} --hookscript {{path/to/script.pl}}`