1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 11:35:45 +02:00

qm*: add leftover aliases (#17501)

This commit is contained in:
Managor 2025-08-06 19:11:35 +03:00 committed by GitHub
parent edef728d7e
commit 28a9f26e29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View file

@ -5,4 +5,4 @@
- Generate a cloudinit file for a specific configuration type: - Generate a cloudinit file for a specific configuration type:
`qm {{[clou|cloudinit]}} dump {{virtual_machine_id}} {{meta|network|user}}` `qm {{[clou|cloudinit]}} {{[d|dump]}} {{virtual_machine_id}} {{meta|network|user}}`

View file

@ -6,4 +6,4 @@
- Import a VMDK/qcow2/raw disk image using a specific storage name: - Import a VMDK/qcow2/raw disk image using a specific storage name:
`qm {{[di|disk]}} import {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` `qm {{[di|disk]}} {{[i|import]}} {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}`

View file

@ -5,8 +5,8 @@
- Move a virtual disk: - Move a virtual disk:
`qm {{[di|disk]}} move {{vm_id}} {{destination}} {{index}}` `qm {{[di|disk]}} {{[m|move]}} {{vm_id}} {{destination}} {{index}}`
- Delete the previous copy of the virtual disk: - Delete the previous copy of the virtual disk:
`qm {{[di|disk]}} move -delete {{vm_id}} {{destination}} {{index}}` `qm {{[di|disk]}} {{[m|move]}} --delete {{vm_id}} {{destination}} {{index}}`

View file

@ -5,4 +5,4 @@
- Add `n` gigabytes to a virtual disk: - Add `n` gigabytes to a virtual disk:
`qm {{[di|disk]}} resize {{vm_id}} {{disk_name}} +{{n}}G` `qm {{[di|disk]}} {{[resi|resize]}} {{vm_id}} {{disk_name}} +{{n}}G`

View file

@ -5,4 +5,4 @@
- Execute a specific QEMU Guest Agent command: - Execute a specific QEMU Guest Agent command:
`qm {{[g|guest]}} cmd {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` `qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}`

View file

@ -5,4 +5,4 @@
- Print the status of a specific PID: - Print the status of a specific PID:
`qm {{[g|guest]}} exec-status {{vm_id}} {{pid}}` `qm {{[g|guest]}} {{[exec-s|exec-status]}} {{vm_id}} {{pid}}`

View file

@ -5,8 +5,8 @@
- Set a password for a specific user in a virtual machine interactively: - Set a password for a specific user in a virtual machine interactively:
`qm {{[g|guest]}} passwd {{vm_id}} {{username}}` `qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}`
- Set an already hashed password for a specific user in a virtual machine interactively: - Set an already hashed password for a specific user in a virtual machine interactively:
`qm {{[g|guest]}} passwd {{vm_id}} {{username}} --crypted 1` `qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}} --crypted 1`