mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 16:49:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user