Skip to content

cloud-init-run

This task executes the cloud-init single mode against a provided user data configuration.

cloud-init-run

This task will run the cloud-init command in single file mode against the provided user-data configuration.

Prerequisites

This task requires cloud-init v24 or above on the target machine. This task requires that a user-data file be placed at /tmp/user-data.txt and is readable by the cloud-init command.

Usage

To use this task, attach the cloud-init profile to the target. Typically, however, a wrapper profile, like the example content bundle, cloud-init-example, will use this task.