Has something changed in 3.0 with respect to embedding cloud-init provisioning of containers at launch?
Following Simos’s blog post i have created the following profile in the attempt to pre-configure the container on launch/initializtion
$ lxc profile show AWTUbuntu1804 config: environment.TZ: "" user.user-data: | #cloud-config package_upgrade: true packages: - build-essential locale: es_ES.UTF-8 timezone: Europe/Madrid runcmd: - [touch, /tmp/simos_was_here] description: Default LXD profile devices: eth0: nictype: bridged parent: lxdbr0 type: nic root: path: / pool: default type: disk name: AWTUbuntu1804 used_by: - /1.0/containers/test3 - /1.0/containers/test6
But it isn’t being executed - python2.7-minimal is not installed and no /tmp/simos_was_here file exists on either test3 or test6. I created test3 with the launch command. test6 was created through init and start.
Thx in advance,