image-builder-rhel-server¶
RHEL Server 7 Image Builder Workflow
This example workflow starts a RHEL 7 Image Builder "gold image" build and capture process.
To create a customized version of the image for your use case, use the folowing stages to dynamically inject customization tasks in to this workflow:
image-builder-pre-builder-flexiflow- runs beforeimage-builder-linuxstageimage-builder-post-builder-flexiflow- runs afterimage-builder-linuxstage
See each of the stages for documentation on how to use them.
RHEL requires special handling to work due to how Redhat manages subscriptions. You may need to set the following Params:
image-builder/skip-package-reset: true
redhat/subscription-username: "[Insert RHSM Username]"
redhat/subscription-password: "[Insert RHSM Password]"
redhat/rhsm-activation-key: "[Insert RHSP Activation Key]"
redhat/rhsm-organization: "[Insert RHSM Organization ID]"
There are other redhat/rhsm-* related Params that you may need in your environment.
Consult the list of Params for more configuration options.
Objects that Reference image-builder-rhel-server¶
Not used in current content packs
Objects used by image-builder-rhel-server¶
- stages image-builder-start in field Stages as value image-builder-start
- stages rhel-server-7-install in field Stages as value rhel-server-7-install
- stages redhat-subscription-register in field Stages as value redhat-subscription-register
- stages ssh-access in field Stages as value ssh-access
- stages drp-agent in field Stages as value drp-agent
- stages image-builder-pre-builder-flexiflow in field Stages as value image-builder-pre-builder-flexiflow
- stages image-builder-linux in field Stages as value image-builder-linux
- stages image-builder-post-builder-flexiflow in field Stages as value image-builder-post-builder-flexiflow
- stages image-builder-capture in field Stages as value image-builder-capture
- stages complete-nobootenv in field Stages as value complete-nobootenv