Extracting baseline config files from imagebuilder

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.

Why not a slightly different order of actions?

  1. flash it to a device
  2. then the files can be customized (on a running system, so you can check your customizations)
  3. then extract the default config files with scp and bake into a new image.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.