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:
parent
edef728d7e
commit
28a9f26e29
7 changed files with 9 additions and 9 deletions
|
@ -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}}`
|
||||||
|
|
|
@ -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}}`
|
||||||
|
|
|
@ -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}}`
|
||||||
|
|
|
@ -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`
|
||||||
|
|
|
@ -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|...}}`
|
||||||
|
|
|
@ -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}}`
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue