Cloud-Init test context
The cloud-init context allows assertions based on the artifacts generated after a cloud-init run. Like in the SSH context, the connection to the machine is created via SSH, so the same prerequisites as for the SSH context apply.
Note
By enabling CloudInitTestContext.printOutputLogOnTestFailure the output from /var/log/cloud-init-output.log
will be printed if a test fails, please be aware that this might leak credentials. that are processed in a cloud-init script.