Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Build a RHEL environment with image builder and content templates

June 25, 2026
Shane McDowell
Related topics:
LinuxPlatform engineeringVirtualization
Related products:
Red Hat Enterprise LinuxRed Hat LightspeedRed Hat OpenShift Virtualization

    Consistent image builds, or golden images are an important part of any standard operating environment (SOE). You need to guarantee that the software in the image remains consistent from build to build until you update your approved package set. Beyond the image, you need to be sure that your running systems are receiving the same updates as your image, so that you can maintain consistency throughout your environment. Red Hat Enterprise Linux image builder, hosted on the Red Hat Hybrid Cloud Console, and content templates can help you achieve that consistent environment.

    What is Red Hat Enterprise Linux image builder?

    Red Hat Enterprise Linux image builder is a hosted service that allows you to assemble customized images optimized for your specific target platforms. It enables you to standardize and streamline your deployments by applying customizations at build time.

    What are Red Hat Lightspeed content templates?

    Red Hat Lightspeed content templates define the packages that are allowed in your RHEL environment. Content templates are useful for consistent patching of your RHEL systems and for building standardized images. The Red Hat Lightspeed content service provides pre-configured snapshots for popular RHEL and extra packages for Enterprise Linux (EPEL) package repositories. You can configure additional RHEL or third-party repositories or upload custom-built packages for your environment.

    Consistent builds lead to consistent operations

    Red Hat image builder and content templates help you achieve consistency from build time through operations in four easy steps. For this example, we will build and deploy a RHEL 10 for x86_64 system with the packages and updates published through March 31, 2026.

    Step 1: Create a content template

    To create a content template, visit the Templates page in the Hybrid Cloud Console and click the Create template button. In the creation wizard, select your RHEL operating system version and architecture, and then select your package repositories. For our example, we are creating a basic image with only the BaseOS and AppStream repositories. 

    Read about additional custom content options in our article: How to use content templates in Red Hat Lightspeed.

    Next, enter the date that matches your SOE definition, give your template a name and description, and proceed to the final review. Make sure everything looks as you expect and then click the arrow on the create button to select the Create template only option (Figure 1).

    This shows the create template only button in the Hybrid Cloud Console content creation wizard.
    Figure 1. Select Create template only to create the template without assigning it to any systems.

    Step 2: Build an image blueprint with a content template

    An image blueprint is the configuration file that the image builder service uses to create the image artifact. The image blueprint includes basic metadata, definitions of package content, system customizations, and first boot scripts.

    To get started, visit image builder in the Hybrid Cloud Console and click the Create image blueprint button to launch the image blueprint creation wizard. First, define the image output with a RHEL version and architecture that matches your content template, and select where you plan to deploy the image. 

    For our example, choose RHEL 10, x86_64, and Virtualization - Guest image (.qcow2). Then proceed through the configuration options, setting values that match your needs, such as automatically registering the system with an activation key. On the repeatable build step, select Use a content template and choose the template that defines the content for this image blueprint (Figure 2).

    This shows the Enable repeatable build step of the image builder blueprint creation wizard.
    Figure 2. Select the Use a content template option and the name of a content template to build the image with that content.

    Proceed through the rest of the steps and choose the Create blueprint and build image(s) option.

    Step 3: Deploy a system from the image

    Next, download the built image and deploy a running system. Because we embedded an activation key in our image and built it from a content template, our system automatically registers to the Hybrid Cloud Console with the content template applied. From the moment the system launches, the installed packages and updates are controlled by our SOE definition in the content template, without running any commands.

    After deploying the virtualization image into our virtualization platform, the system appears on the Hybrid Cloud Console, is associated with the content template, and shows that there are no installable advisories. The 17 applicable advisories are updates that impact this system, but published after March 31.

    Figure 3 is a content template showing one system with no installable advisories and 17 applicable advisories.

    This content template shows one system with no installable advisories and 17 applicable advisories.
    Figure 3. View the results of registering a system with a content template.

    We can see the impact of the content template on our running system by logging into the system console and running sudo dnf update, which shows that there are no updates to install.

    [rhel10-soe@rhel10-soe-vm ~]$ sudo dnf update
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:04:17 ago on Wed Apr 22 21:01:22 2026.
    Dependencies resolved.
    Nothing to do.
    Complete!
    [rhel10-soe@rhel10-soe-vm ~]$

    Step 4: Update the template and patch or build a new image

    When your next patching cycle arrives, update the content template to match your new approved date for package updates. Any systems associated with the content template will have these new patches available immediately and when you rebuild the image from the blueprint, you will have the patches included.

    For our example, the new approved date for package updates is April 17. After updating the RHEL 10 Basic SOE template with this date, we can see that there are thirteen installable advisories for our system.

    Figure 4 is a content template showing one system with 13 installable advisories and 17 applicable advisories.

    A view of the results of updating the content template with a new date.
    Figure 4. View the results of updating the content template with a new date.

    We can see the impact of the content template on our running system by logging into the system console. This time we will run sudo dnf updateinfo, which shows that there are 13 updates to install, including 10 security advisories.

    [rhel10-soe@rhel10-soe-vm ~]$ sudo dnf updateinfo
    Updating Subscription Management repositories.
    Last metadata expiration check: 0:01:43 ago on Wed Apr 22 21:17:18 2026.
    Updates Information Summary: available
        10 Security notice(s)
            1 Critical Security notice(s)
            6 Important Security notice(s)
            3 Moderate Security notice(s)
         3 Bugfix notice(s)
    [rhel10-soe@rhel10-soe-vm ~]$

    Any new system you deploy for your rebuilt image and any existing system you patch will include the same package versions, resulting in consistent and predictable operations across your environment.

    Get started

    Red Hat Enterprise Linux image builder and content templates help you achieve consistency from build time through operations, creating predictable environments that save time on troubleshooting. Our example included a virtual machine deployed on local virtualization, but you can follow the same workflow for your local data center, the public cloud, or Red Hat OpenShift Virtualization. Get started with your first content template and image blueprint now.

    Want to learn more? Read about the image builder service powered by Red Hat Lightspeed.

    Related Posts

    • How I used Red Hat Lightspeed image builder to create CIS (and more) compliant images

    • Testing frameworks for images built via Red Hat Lightspeed image builder

    • Customize AWS cloud images with RHEL image builder and Packit

    • How to use content templates in Red Hat Lightspeed

    Recent Posts

    • How to integrate OpenShift AI and PG Airman MCP Server

    • Build a RHEL environment with image builder and content templates

    • Implement mTLS and zero trust with cert-manager and trust-manager

    • Why you should use Fromager to build your Python dependency trees from source

    • Optimizing distributed AI inference: Advanced deployment patterns

    What’s up next?

    Learning Path Learning Path

    Harden new builds with Red Hat Lightspeed image builder and compliance

    Custom-harden your new builds and keep them that way with Red Hat...
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.