canonical/pylxd

Why doesn't cloud-init work when creating containers which user.user-data cloud-config?

Dweller opened this issue · 2 comments

Why does cloud-config config user.user-data in profiles not get executed when a container with those profiles is created?

It sure does get executed :)

Can you show lxc config show --expanded NAME for a container where it didn't work?
Then check /var/log/cloud-init-* files inside the container.

I can confirm the issue has been solved.. Seems using a cloud-init image also helps..