Hi,
we would like to interface the cloud-init connection between an already deployed / post-deployed machine and the MAAS metadata server. Is this possible somehow at this moment?
For example, think of a usecase where a machine reboots into the installed OS and then fetches fresh cloud-init files (e.g. user-data and meta-data) from the MAAS metadata server in order to modify the already installed OS conveniently using cloud-init instead of e.g. Ansible or bash scripts.
If I understand correctly, currently (as of 3.4), a deployed machine at some point after reboot has it’s own cloud-init client correspond to a MAAS metadata-server for cloud-init related conversation according to DataSourceMAAS.py. (see https://maas.io/docs/about-deploying-machines, or more specifically the deployment flowchart.
We would like to interface here, e.g. place our own new cloud-init files for the client to fetch them.
(I am aware that another option is to change the cloud-init source specifications/addresses after deployment and run my own cloud-init server)