New Question

Revision history [back]

click to hide/show revision 1
initial version

How do I use Cloudbase-Init instance data?

Cloud-Init equivalent would be this: https://cloudinit.readthedocs.io/en/latest/topics/instancedata.html#using-instance-data

It seems like Cloudbase-Init also has it as of 1.1.0, based on this merge https://opendev.org/x/cloudbase-init/commit/551c4eb318c8d38cb1c7700d77cf4812885503c2

However, I am unable to get this working when trying to do a simple runcmd to echo {{ ds.meta_data.meta.name }}, it cannot find meta.

Could it be that it's not reading in the metadata? Where can I locate the instance-data file for Windows?