After reviewing https://review.openstack.org/#/c/445579/ and doing some testing, it would appear that the config-drive support in the nova-lxd driver is not functional.
cloud-init ignores the data presented in /var/lib/cloud/data and reads from the network accessible metadata-service.
To test this effectively you have to have a fully offline instance (i.e. no metadata service access).
After reviewing https:/ /review. openstack. org/#/c/ 445579/ and doing some testing, it would appear that the config-drive support in the nova-lxd driver is not functional.
cloud-init ignores the data presented in /var/lib/cloud/data and reads from the network accessible metadata-service.
To test this effectively you have to have a fully offline instance (i.e. no metadata service access).