files
The files module can be used to copy directories from config/files to
any location in your image at build time, as long as the location exists at
build time (e.g. you can’t put files in /home/<username>, because users
haven’t been created yet prior to first boot).
Example configuration
modules: - type: files files: - usr: /usr # copies config/files/usr into your images /usr # put configuration files you want in /etc/ on a *booted* # system in /usr/etc/ in the image. - etc: /etc # copies config/files/etc into your image's /etc immediately, # for use with further modules.Configuration options
files: (required array)
List of files / folders to copy. Format is: sourcefile.txt: /destination/file.txt