exec on instance
This block is part of the virtualisation group and was last modified in core v13.0.9.
exec on instance
v13.0.9
Execute a command on the LXD instance.
| Pin | Pin | Type | Default |
|---|---|---|---|
| flow |
flow |
||
ConnectionrequiredThe LXD connection |
lxdconnection |
||
Instance namerequiredThe name of the instance you want to execute the command on. |
value |
||
CommandrequiredThe command to execute on the instance. |
value |
||
| Current working directory (CWD) The directory to execute the command in. |
value |
||
| Environment Optional environment variables. |
object |
| Pin | Pin | Type | Example |
|---|---|---|---|
| flow |
flow |
||
ConnectionrequiredThe LXD connection |
lxdconnection |
||
| Operation ID The ID of the operation that executes this command. |
value |
||
| Data The data of the operation that executes this commands. |
object |
||
| Success If successful, this pin returns true. |
condition |
||
| Error Error message if the command could not be executed. |
value |
Core Releases
v13.0.9 This block was introduced inv13.0.9, click here to see the release notes.
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