Cloud-init on custom image


Hello fellow riders,

I want to use cloud-init on my fresh instances.
Here is my test cloud-init config.

final_message: “Bkr blub blah”

  • path: /var/local/
    permissions: ‘0777’
    owner: root:root
    content: |
    echo “helloe”

This works perfectly well on new instances which are created from standard images (Ubuntu Bionic).
It does not work for my custom images though.
Is there a way to make them work on custom images?
I created my custom image via the backup function int he scaleway frontend.
It’s just a basic Ubuntu image with some additional packages installed.
The cloud-init log files don’t show anything useful.

Kind regards,