This repository contains the Containerfile to create a Red Hat Enterprise Linux Image Mode bootc image that can be used together with Omnissa Horizon as an immutable desktop Golden Image.
See the related blog post at https://blog.graa.dev/RedHat-ImageModeVDI for more details.
- Clone the repository and change
domain.confto fit your Active Directory Domain, and Containerfile to fit the AD group or user to get sudoers capability. - Download the latest Linux Horizon Agent RPM from Omnissa and place it in the cloned repo's directory.
The commands below create a RHEL 9 Image Mode bootc image that is then converted to a VMDK, which can be used as the Golden Image in an Omnissa Horizon instant clone desktop pool.
podman build -t localhost/rhel-bootc-vdi .
mkdir output
podman run --rm -it --privileged -v /var/lib/containers/storage:/var/lib/containers/storage -v ./output:/output --security-opt label=type:unconfined_t --pull newer registry.redhat.io/rhel10/bootc-image-builder:latest --local --type vmdk localhost/rhel-bootc-vdi