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

@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}}`
- Set an already hashed password for a specific user in a virtual machine interactively:
`qm {{[g|guest]}} {{[p|passwd]}} {{vm_id}} {{username}} --crypted 1`
- Execute a specific QEMU Guest Agent command:
`qm {{[g|guest]}} {{[c|cmd]}} {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}`
@@ -23,3 +27,15 @@ source: https://github.com/tldr-pages/tldr.git
- Execute a specific command via a guest agent:
`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}`
- Execute a specific command via a guest agent asynchronously:
`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --synchronous 0`
- Execute a specific command via a guest agent with a specified timeout of 10 seconds:
`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2...}} --timeout {{10}}`
- Execute a specific command via a guest agent and forward input from `stdin` until EOF to the guest agent:
`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --pass-stdin 1`