New Question

Revision history [back]

click to hide/show revision 1
initial version

How to use Cloudbase-init in lxc?

Hello everyone,

I have a windows image baked with cloudbase-init. I created a profile in lxc which has user-data and meta-data using lxc sdk's in golang and started the VM. When I login to vm, I couldn't see user-data and meta-data under LocalScripts folder of Cloubase-init. Also, the user-data which I have provided was not executed during the pre-boot. Can you let me know the steps to make this work as expected? I would be great if you can provide an example of user-data to setup users and run powershell commands.