vmexec-exec(1) General Commands Manual vmexec-exec(1)

vmexec-exec - Run a command in an existing virtual machine

vmexec exec [-e|--env] [-s|--ssh-timeout] [-i|--interactive] [-t|--tty] [-h|--help] <VMID> [ARGS]

Run a command in an existing virtual machine

Set environment variables for the process inside the virtual machine

Can be provided multiple times.

Expected format: KEY=VALUE

SSH connection timeout

Try for this long (in seconds) to connect to the virtual machine's SSH server.

Make STDIN available to the virtual machine's process

If 'auto', this will try to read from stdin if it is available, and do nothing when stdin is not available. If 'always', this will try to read from stdin and abort when stdin is not available.

[possible values: always, never, auto]

Allocate a pseudo-TTY for the virtual machine

If 'auto', this will be enabled in case vmexec is run from an interactive terminal.

[possible values: always, never, auto]

Print help (see a summary with '-h')
<VMID>
Identifier of a running virtual machine
[ARGS]
Arguments to run in the virtual machine
exec