Hi,
I’m trying to create a custom Ubuntu Core 16 image for an embedded x86_64 board. I succeeded creating the proper model assertion and get lxd snap pre-installed into the custom build image. Now on first boot, I need to login and run “lxd init” once to get everything up and running.
Is there a way to specify some “first boot init” script during image building which will take care of the needed initialization?
The only method I found so far is “documented” here (https://github.com/subutai-attic/subos/wiki/Creating-Ubuntu-Core-16-image
) but involves loop mounting the image and manipulating the content.
I was looking for some method to add this kind of init script during image build …
Any ideas/pointers?
Thanks
Andreas