diskimage-builder/diskimage_builder/elements/centos
Curt Moore cb55b089c8 Adapt to upstream CentOS Stream mirror changes
When using DIB_DISTRIBUTION_MIRROR for an internal mirror with
CentOS Stream >= 9, ensure that the yum repository configuration
files reference the new upstream directory structure layout.

Change-Id: I8360bb77e5ef9370ec69f9c0c327726e3554b7a4
2024-09-03 11:52:50 -05:00
..
environment.d Change centos DIB_RELEASE default to 9-stream 2024-08-02 12:52:13 -07:00
post-install.d Make centos reset-bls-entries behave the same as rhel 2022-04-29 13:12:24 +12:00
pre-install.d Adapt to upstream CentOS Stream mirror changes 2024-09-03 11:52:50 -05:00
root.d Remove EOLed CentOS 7 and RHEL 7 2024-07-05 09:53:29 +12:00
test-elements centos: work around 9-stream BLS issues 2021-12-22 21:07:23 +11:00
element-deps Add CentOS 8 support 2020-02-19 10:44:56 +01:00
element-provides Add CentOS 8 support 2020-02-19 10:44:56 +01:00
README.rst Change centos DIB_RELEASE default to 9-stream 2024-08-02 12:52:13 -07:00

centos

Use CentOS cloud images as the baseline for built disk images.

For further details see the redhat-common README.

Environment Variables

DIB_DISTRIBUTION_MIRROR:
Required

No

Default

None

Description

To use a CentOS Yum mirror, set this variable to the mirror URL before running bin/disk-image-create. This URL should point to the directory containing the 7/8-stream/9-stream directories.

Example

DIB_DISTRIBUTION_MIRROR=http://amirror.com/centos

DIB_CLOUD_IMAGES:
Required

No

Description

Set the desired URL to fetch the images from. ppc64le: Currently the CentOS community is working on providing the ppc64le images. Until then you'll need to set this to a local image file.

Example

DIB_CLOUD_IMAGES=/path/to/my/centos/8/CentOS-8-GenericCloud-x86_64.qcow2

DIB_RELEASE:
Required

No

Description

To override the release to build, utilize this paraemter. Presently defaults to 9-stream, however may be changed by diskimage-builder to newer versions as the distribution versions move through their lifecycle.