image-builder-linux¶
CentOS 7 install stage for Image Builder
An example stage that configures a CentOS 7 host to be ready for Image Builder to capture a root filesystem tarball image of the installed system.
Note that package repository handling may need to be changed for your environment, in which case you will want to construct a custom Stage that modifies repos correctly for your use.
In addition this Stage will update all packages to the "latest" in the package repositories. This may not be the correct behavior for your use case.
This stage performs the following functions:
- Reset package repositories - reset package repos to system "stock"
- Update all packages to the latest versions in the package repositories
- Install
cloud-init
for image bootstrap configuration - Clean up the image by stripping out useless kernels, package meta files, etc.
With use of the image-builder/pre-builder-workflow
Paramater on the builder
machine, a dynamic list of Tasks can be injected BEFORE this Stage.
With use of the image-builder/post-builder-flexiflow
Parameter on the
builder machine, a dynamic list of Tasks can be injected AFTER this Stage,
but before the final image is captured.