exec on instance

This block is part of the virtualisation group and was last modified in core v13.0.9.

Deprecated This block has been deprecated since v0.0.0, please avoid future use.
exec on instance Deprecated v13.0.9

Execute a command on the LXD instance.

In pins 5 + flow
  • flow
    flow
  • Connection required
    lxdconnection

    The LXD connection

  • Instance name required
    value

    The name of the instance you want to execute the command on.

  • Command required
    value

    The command to execute on the instance.

  • Current working directory (CWD)
    value

    The directory to execute the command in.

  • Environment
    object

    Optional environment variables.

Out pins 5 + flow
  • flow
    flow
  • Connection
    lxdconnection

    The LXD connection

  • Operation ID
    value

    The ID of the operation that executes this command.

  • Data
    object

    The data of the operation that executes this commands.

  • Success
    condition

    If successful, this pin returns true.

  • Error
    value

    Error message if the command could not be executed.

Version history

Introduced in v13.0.9.


Back to virtualisation Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group