This repository contains various demos of files and directories customization use cases in Image Builder.
For now, files and directories customizations are supported only on-premise. Missing functionality is tracked in the following issues:
- Support in the Service - https://issues.redhat.com/browse/HMS-1398
- Support in the cockpit-composer - https://issues.redhat.com/browse/COMPOSER-1909
Install and enable image builder on-premise.
sudo dnf install -y osbuild-composer osbuild-composer-cli
# On Fedora, one needs to configure the RHEL-9 repos to be able to build RHEL-9 images (officially not supported)
# Copy the RHEL-9 repo file from the upstream repository.
sudo mkdir -p /etc/osbuild-composer/repositories
sudo curl https://raw.githubusercontent.com/osbuild/osbuild-composer/main/repositories/rhel-9.json -o /etc/osbuild-composer/repositories/rhel-9.json
# start and enable osbuild-composer
sudo systemctl enable --now osbuild-composer.socket