订阅内容

Creating a golden image of an operating system (OS) is a popular and recommended  practice for deploying a new system to any environment, whether it's a data center or public cloud. This enables rapid deployment of systems that are easy to maintain and conforms to your unique Standard Operating Environment (SOE) requirements. Red Hat Enterprise Linux (RHEL) provides two options to help you build customized RHEL OS images: RHEL image builder and Red Hat Insights image builder. For an overview of both options, and a list of the latest blog posts about them, visit redhat.com/image-builder.

Insights image builder has recently added blueprints, which allow you to create, save, and edit revisions over time. A blueprint provides a declarative definition of how to assemble RHEL, including software package content and configuration options. This is analogous to the classic kickstart files used by the RHEL installer image. If you enable Preview mode at the top of the screen, it also enables additional import and export capabilities.

Create blueprints with Insights image builder

You can access Insights image builder on the Red Hat Hybrid Cloud Console. If you've used Insights image builder before, then you may notice the main page has some new changes.

The first difference you see is the New in Images: Blueprints! banner. This provides a basic description, and you can click on the Get started with blueprints link for a quick start guide.

Blueprints quick start guide

 

In the Images panel,  there's a new Blueprints column that states No blueprints yet. To create your first blueprint, click the Create blueprint button in the top right. 

 empty Blueprints column and Create blueprint button

 

After clicking Create blueprint, you're taken through a guided blueprint creation workflow to easily build and customize RHEL. If no specific customizations or package selections are made, then this will create the equivalent of a RHEL Minimal installation but will include environment specific packages required for the environment, such as cloud-init, open-vm-tools, and similar packages. The many other options are explained in the documentation and other blog posts, so this article focuses on creating, saving, and editing a blueprint.

Near the end of the workflow, you're asked to give your blueprint a name, and an optional description. 

Blueprints name and description options

 

The final Review step presents you with a list of options to Create blueprint or Create blueprint and build image(s).  If you're editing an existing blueprint, the workflow is identical, except the button says Save changes to blueprint instead of Create blueprint.

Blueprints create or save options

All blueprints you create are listed in the Blueprints column, and the status of any image builds are displayed in the main panel.

Blueprints and Image Builds

 

Sharing blueprints with import and export

Once you've created your first blueprints and have Preview mode enabled, you see additional options to import and export them. This allows you to share your blueprint examples with others. An exported blueprint is stored in the .json file format, and can be imported by other users into Insights image builder.

The RHEL image builder for on-premises building saves blueprints in the .toml file format. Currently these two blueprint file formats are not compatible, because the build systems provide different capabilities. In the future, we hope to merge this compatibility allowing for sharing between both versions of image builder. 

import and export options

 

Build your own blueprints today!

The Insights image builder blueprints feature lays the foundation for many other capabilities and customizations yet to come. Check out the overview and list of latest blog posts at redhat.com/image-builder, and then go over to Insights image builder to create your own custom Blueprints and RHEL images.


关于作者

Terry Bowling has been designing and working with customers on UNIX and GNU/Linux environments since 1999. He brings this experience to the RHEL Product Management team to provide the best experience to assembling and deploying RHEL for customers. This includes the RHEL installer, image builder and related build services for RHEL being developed at Console.RedHat.com.

Read full bio
UI_Icon-Red_Hat-Close-A-Black-RGB

按频道浏览

automation icon

自动化

有关技术、团队和环境 IT 自动化的最新信息

AI icon

人工智能

平台更新使客户可以在任何地方运行人工智能工作负载

open hybrid cloud icon

开放混合云

了解我们如何利用混合云构建更灵活的未来

security icon

安全防护

有关我们如何跨环境和技术减少风险的最新信息

edge icon

边缘计算

简化边缘运维的平台更新

Infrastructure icon

基础架构

全球领先企业 Linux 平台的最新动态

application development icon

应用领域

我们针对最严峻的应用挑战的解决方案

Original series icon

原创节目

关于企业技术领域的创客和领导者们有趣的故事