-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.3.0
-
None
-
Moderate
-
rhel-sst-image-builder
-
ssg_front_door
-
None
-
False
-
-
None
-
None
-
None
-
None
-
-
All
-
None
Proposed title of this feature request
{}{}Include support for file customization in images created by Image Builder
What is the nature and description of the request?
We want to be able to customize and create configuration files in the images created.
{{}}
Why does the customer need this? (List the business requirements here)
We need to be able to customize individual service configuration files and other files in /etc during image creation.
{{}}
{{}}
How would the customer like to achieve this? (List the functional requirements here)
{}Include support for files outside of the .toml to be referenced in the blueprint to be pulled in to customize/replace/add files into the image. For example, support for the following to reference a file "~/my_templates/myfile.conf" which should be placed at /etc/somedir/myfile.conf in the image:
-----------------
[[customizations.file]]
path = /etc/somedir/myfile.conf
content_from_file = ~/my_templates/myfile.conf
-----------------
If possible, support this for entire directory structures as well:
-----------------
[[customizations.directory]]
path = /some/path/here
from_dir = ~/my_templates/example_dir
recursive = true # or not, to only take top-level content
{{}}
{{}}
-----------------
{{}}
For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
{}Create images with the file customization mentioned above, then check whether images generated contain the custom content as expected.
Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL8, RHEL9)?
{}RHEL 9
List any affected packages or components.
{}Image Builder/osbuild-composer