Customised machine: curtin_userdata script not executed as expected

Hi there,

As shown in the picture, the log looks weird, and the change has not been applied.

#cloud-config
debconf_selections:
 maas: |
  {{for line in str(curtin_preseed).splitlines()}}
  {{line}}
  {{endfor}}

late_commands:
 maas: [wget, '--no-proxy', '{{node_disable_pxe_url}}', '--post-data', '{{node_disable_pxe_data}}', '-O', '/dev/null']
 10_motd_template: |
  curl 'URL to gist' -o /etc/motd
  sed -i "s/{hostname}/$(hostname)/g" /etc/motd

Thanks!

Hi, please see how to report a bug