post text file
This block is part of the files group and was last modified in core v15.0.0.
post text file v13.0.9 Updated v15.0.0Creates or replaces a file with a given text content.
In pins 4 + flow
- flow
flow - Connection required
lxdconnectionThe LXD connection
- Instance name required
valueThe name of the instance for this action.
- path required
valuePath to the file.
- file required
valueThe file content to write.
Out pins 3 + flow
- flow
flow - Connection
lxdconnectionThe LXD connection
- Success
conditionIf successful, this pin returns true.
- Error
valueError message if the file could not be created or updated.
A typical wiring for post text file: a function trigger starts the flow; create network feeds the connection pin; value feeds the instance_name pin; value feeds the path pin; value feeds the file pin; the flow out pin feeds debug.

Version history
Introduced in v13.0.9.
Last modified in v15.0.0.
Back to
files Return to the main group to view all sub-groups Back to LXD Return to the group to view all blocks within this group
