Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-23 00:21:40 +00:00
parent 716a67f83d
commit 4e6886aa1f
57 changed files with 368 additions and 131 deletions

View File

@@ -23,3 +23,15 @@ source: https://github.com/tldr-pages/tldr.git
- Import a VMDK/`.qcow2`/raw disk image using a specific storage name:
`qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}`
- Rescan all storages and update disk sizes and unused disk images:
`qm {{[di|disk]}} {{[resc|rescan]}}`
- Perform a dry-run of a rescan and do not write any changes to configurations:
`qm {{[di|disk]}} {{[resc|rescan]}} --dryrun`
- Specify a virtual machine by its ID:
`qm {{[di|disk]}} {{[resc|rescan]}} --vmid {{100}}`