vmexec-exec(1) | General Commands Manual | vmexec-exec(1) |
NAME
vmexec-exec - Run a command in an existing virtual machine
SYNOPSIS
vmexec exec [-e|--env] [-s|--ssh-timeout] [-i|--interactive] [-t|--tty] [-h|--help] <VMID> [ARGS]
DESCRIPTION
Run a command in an existing virtual machine
OPTIONS
- -e, --env=ENV
- Set environment variables for the process inside the virtual machine
Can be provided multiple times.
Expected format: KEY=VALUE
- -s, --ssh-timeout=SSH_TIMEOUT [default: 20]
- SSH connection timeout
Try for this long (in seconds) to connect to the virtual machine's SSH server.
- -i, --interactive=INTERACTIVE [default: auto]
- 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]
- -t, --tty=TTY [default: 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]
- -h, --help
- Print help (see a summary with '-h')
- <VMID>
- Identifier of a running virtual machine
- [ARGS]
- Arguments to run in the virtual machine
exec |