Requirements for pxe-tar-xz and bootc-installer image types
mainCertain image types require specific configurations in the source container image.
pxe-tar-xz
The source container must have dracut-live and squashfs-tools installed, and the initramfs must be rebuilt with the dmsquash-live module.
bootc-installer
The source container must contain Anaconda. You must also provide the --bootc-installer-payload-ref argument, which points to a container reference containing the payload to be installed by Anaconda.
# Example Containerfile for bootc-installer source
FROM your-favorite-bootc-container:latest
RUN dnf install -y \
anaconda \
anaconda-install-env-deps \
anaconda-dracut \
dracut-config-generic \
dracut-network \
net-tools \
squashfs-tools \
grub2-efi-x64-cdboot \
python3-mako \
lorax-templates-* \
biosdevname \
prefixdevname \
&& dnf clean all
# Required for Fedora 43+ to ensure EFI files are in the correct location
RUN mkdir -p /boot/efi && cp -ra /usr/lib/efi/*/*/EFI /boot/efi
# Required for lorax compatibility on some images
RUN mkdir /var/mnt