Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
linux/qm-guest-exec Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# qm guest exec
> Execute a specific command via a guest agent.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Execute a specific command via a guest agent:
`qm guest exec {{vm_id}} {{command}} {{argument1 argument2 ...}}`
- Execute a specific command via a guest agent asynchronously:
`qm guest exec {{vm_id}} {{argument1 argument2 ...}} --synchronous 0`
- Execute a specific command via a guest agent with a specified timeout of 10 seconds:
`qm 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 guest exec {{vm_id}} {{argument1 argument2 ...}} --pass-stdin 1`