write-file
Write files to a virtual machine, waiting until the workload container is running to ensure the file is not lost.
Instructions
Write a file into a machine. Waits until the workload container runs so the file is not lost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Machine name | |
| path | Yes | Absolute path inside the machine | |
| target | No | Which fleet to talk to. local is smolvm serve on this host; cloud is smol cloud at SMOL_CLOUD_URL. | local |
| content | Yes | ||
| encoding | No | utf8 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| size | Yes |