if not you can modify /var/lib/dpkg/info/cloud-init.postinst shebang to include execution trace:
#!/bin/sh -x
Then re-run the command and capture the output. Maybe we can see why that's not rendering the maas cloud config files.
FWIW, I've extracted the debconf_selections into a file, populated debconf, then re-run dpkg-reconfigure cloud-init and see that it does write out these files in /etc/cloud/cloud.cfg.d/
What happens when you do:
sudo dpkg-reconfigure cloud-init --frontend= noninteractive
do you see /etc/cloud/ cloud.cfg. d/ populated?
if not you can modify /var/lib/ dpkg/info/ cloud-init. postinst shebang to include execution trace:
#!/bin/sh -x
Then re-run the command and capture the output. Maybe we can see why that's not rendering the maas cloud config files.
FWIW, I've extracted the debconf_selections into a file, populated debconf, then re-run dpkg-reconfigure cloud-init and see that it does write out these files in /etc/cloud/ cloud.cfg. d/
https:/ /paste. ubuntu. com/p/9yt8nyqBd R/