I want to add some extra files to a custom image in one of the writable-paths at image build time, like
After a bit of googling around, it seems that is normally done by creating the image, then mounting the image partition labelled
writable, and dropping files under the in the writable-path locations under
Hopefully someone can correct me if I got that wrong at all
However, it looks like for UC20 the process is different, as the image file created by
ubuntu-image does not contain the partition labelled
writable. It seems like that partition is only created on first boot.
Again, please correct me if I have not got that correct.
So the question is, how do I create drop in files to writable-paths when create a UC20 image ?
I guess I could use cloud-init to write files, but sticking entire files in cloud-init as blobs seems a bit messy. It feels like there must be a better way!
Any links to examples would be awesome.