Imagebuilder indeed supports custom config files with the FILES
argument. However, it's unclear how the baseline/default config files should be obtained in the first place.
The obvious method would be to take a clean default image, flash it to a device, then extract the default config files with scp
. Then the files can be customized and baked into a new image.
Is there a way to get the files without going through the process of flashing the image to a device? An initial recursive grep of the build directory does not seem to find anything relevant.