vmexec-exec(1)

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

SYNOPSIS
vmexec exec [-e|--env] [-w|--workdir] [-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

-w, --workdir <WORKDIR>
    Working directory inside the virtual machine The default wokring directory for running binaries within a virtual machine is dependent on the image. Most commonly, it'll be /root.

-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